|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.EventObject
com.starteam.events.TraceEvent
public final class TraceEvent
Event triggered when partial Trace results are available.
Note that even though the query work may be distributed across multiple threads, TraceFinder.Events are serialized; thus, listeners are not invoked for a new event until all the event handlers have finished processing the previous event.
| Method Summary | |
|---|---|
void |
cancel()
Cancel execution of the TraceFinder Queries |
java.lang.Throwable |
getFailure()
Reports an exception. |
Server |
getServer()
Gets the repository from which these traces were obtained. |
int |
getTotalWork()
Gets the total units of work required to execute this query. |
TraceCollection |
getTraces()
A set of traces representing partial results to a query. |
int |
getWorkCompleted()
Gets the number of units of work completed so far. |
boolean |
isCanceled()
returns true if further execution of TraceFinder Queries have been canceled |
boolean |
isSuccessful()
Returns true if we're reporting query results; false if we're reporting an exception. |
| Methods inherited from class java.util.EventObject |
|---|
getSource, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public Server getServer()
public TraceCollection getTraces()
Every trace that will eventually appear in the result set appears exactly once in some TraceFinder.Event's TraceCollection.
Furthermore, every server that is searched appears at least once in a TraceFinder.Event. If a given server is searched but does not have any traces that match the query, then it will appear in a TraceFinder.Event whose TraceCollection is empty.
public boolean isSuccessful()
public java.lang.Throwable getFailure()
public int getTotalWork()
public int getWorkCompleted()
public void cancel()
public boolean isCanceled()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||