|
Kieker 1.6 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object kieker.tools.traceAnalysis.systemModel.AbstractTrace kieker.tools.traceAnalysis.systemModel.ExecutionTrace
public class ExecutionTrace
Field Summary |
---|
Fields inherited from class kieker.tools.traceAnalysis.systemModel.AbstractTrace |
---|
NO_TRACE_ID |
Constructor Summary | |
---|---|
ExecutionTrace(long traceId)
|
|
ExecutionTrace(long traceId,
String sessionId)
|
Method Summary | |
---|---|
void |
add(Execution execution)
Adds an execution to the trace. |
static Comparator<Execution> |
createExecutionTraceComparator()
Returns an instance of the Comparator used by the internal TreeSet to
compare Execution s. |
boolean |
equals(Object obj)
Returns whether this Execution Trace and the passed Object are equal. |
long |
getDurationInNanos()
Returns the duration of this (possible incomplete) trace in nanoseconds. |
int |
getLength()
Returns the length of this trace in terms of the number of contained executions. |
int |
getMaxEoi()
Returns the maximum execution order index (eoi) value within the trace. |
int |
getMaxEss()
Returns the maximum execution stack size (ess) value, i.e., the maximum stack depth, within the trace. |
long |
getMaxTout()
Returns the maximum timestamp value of an execution return in this trace. |
int |
getMinEoi()
Returns the minimum execution order index (eoi) value within the trace. |
long |
getMinTin()
Returns the minimum timestamp of an execution start in this trace. |
SortedSet<Execution> |
getTraceAsSortedExecutionSet()
Returns a sorted set (unmodifiable) of Execution s in this trace. |
int |
hashCode()
|
MessageTrace |
toMessageTrace(Execution rootExecution)
Returns the message trace representation for this trace. |
String |
toString()
|
Methods inherited from class kieker.tools.traceAnalysis.systemModel.AbstractTrace |
---|
getSessionId, getTraceId, getTraceInformation |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ExecutionTrace(long traceId)
public ExecutionTrace(long traceId, String sessionId)
Method Detail |
---|
public void add(Execution execution) throws InvalidTraceException
execution
-
InvalidTraceException
- if the traceId of the passed Execution
object is not the same as the traceId of this ExecutionTrace object.public MessageTrace toMessageTrace(Execution rootExecution) throws InvalidTraceException
InvalidTraceException
public final SortedSet<Execution> getTraceAsSortedExecutionSet()
Execution
s in this trace.
Execution
s in this tracepublic final int getLength()
public String toString()
toString
in class Object
public int getMaxEss()
public int getMaxEoi()
public int getMinEoi()
public long getDurationInNanos()
public long getMaxTout()
public long getMinTin()
public int hashCode()
hashCode
in class AbstractTrace
public boolean equals(Object obj)
equals
in class AbstractTrace
obj
-
public static final Comparator<Execution> createExecutionTraceComparator()
Comparator
used by the internal TreeSet
to
compare Execution
s.
|
Kieker 1.6 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |