Class AbstractTrace
java.lang.Object
kieker.tools.trace.analysis.systemModel.AbstractTrace
- Direct Known Subclasses:
ExecutionTrace,MessageTrace
@Deprecated
public abstract class AbstractTrace
extends java.lang.Object
Deprecated.
1.15 moved to kieker-model
This is the abstract base for a trace (like a message trace e.g.).
- Since:
- 1.2
- Author:
- Andre van Hoorn
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringDEFAULT_SESSION_IDDeprecated.Default value for the session ID.static java.lang.StringNO_TRACE_IDDeprecated.This constant can be used as an ID to show that the trace has no ID. -
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractTrace()Deprecated.Default constructor.AbstractTrace(long traceId)Deprecated.Creates a new abstract trace with the given trace ID and a default session ID.AbstractTrace(long traceId, java.lang.String sessionId)Deprecated.Creates a new abstract trace with the given parameters. -
Method Summary
Modifier and Type Method Description abstract booleanequals(java.lang.Object obj)Deprecated.abstract longgetEndTimestamp()Deprecated.Returns this trace's end timestamp.java.lang.StringgetSessionId()Deprecated.Delivers the ID of the session.abstract longgetStartTimestamp()Deprecated.Returns this trace's start timestamp.longgetTraceId()Deprecated.Returns this trace's trace ID.TraceInformationgetTraceInformation()Deprecated.Returns information about this trace.inthashCode()Deprecated.
-
Field Details
-
DEFAULT_SESSION_ID
public static final java.lang.String DEFAULT_SESSION_IDDeprecated.Default value for the session ID.- See Also:
- Constant Field Values
-
NO_TRACE_ID
public static final java.lang.String NO_TRACE_IDDeprecated.This constant can be used as an ID to show that the trace has no ID.- See Also:
- Constant Field Values
-
-
Constructor Details
-
AbstractTrace
protected AbstractTrace()Deprecated.Default constructor. -
AbstractTrace
public AbstractTrace(long traceId)Deprecated.Creates a new abstract trace with the given trace ID and a default session ID.- Parameters:
traceId- The trace ID to use for the new trace
-
AbstractTrace
public AbstractTrace(long traceId, java.lang.String sessionId)Deprecated.Creates a new abstract trace with the given parameters.- Parameters:
traceId- The trace ID to use for the new tracesessionId- The session ID to use for the new trace
-
-
Method Details
-
getTraceInformation
Deprecated.Returns information about this trace.- Returns:
- See above
-
getTraceId
public long getTraceId()Deprecated.Returns this trace's trace ID.- Returns:
- See above
-
getSessionId
public java.lang.String getSessionId()Deprecated.Delivers the ID of the session.- Returns:
- The session ID.
-
hashCode
public int hashCode()Deprecated.- Overrides:
hashCodein classjava.lang.Object
-
equals
public abstract boolean equals(java.lang.Object obj)Deprecated.- Overrides:
equalsin classjava.lang.Object
-
getStartTimestamp
public abstract long getStartTimestamp()Deprecated.Returns this trace's start timestamp.- Returns:
- See above
-
getEndTimestamp
public abstract long getEndTimestamp()Deprecated.Returns this trace's end timestamp.- Returns:
- See above
-