Class AbstractSession<T extends AbstractTrace>
java.lang.Object
kieker.tools.trace.analysis.systemModel.AbstractSession<T>
- Type Parameters:
T- The concrete type of trace this session is based on
- Direct Known Subclasses:
ExecutionTraceBasedSession,MessageTraceBasedSession
Deprecated.
1.15 moved to kieker-model
Sessions group traces which belong to the same high-level user interaction.
- Since:
- 1.10
- Author:
- Holger Knoche
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractSession(String sessionId) Deprecated.Creates a new abstract session with the given session ID. -
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.Adds a trace to this session.Deprecated.protected longDeprecated.longDeprecated.Returns this trace's end timestamp.protected abstract Comparator<? super T>Deprecated.Deprecated.Returns this session's session ID.protected longDeprecated.longDeprecated.Returns this trace's start timestamp.Deprecated.Returns the traces contained in this session.voidDeprecated.Marks this session as completed, i.e.protected voidsetEndTime(long endTime) Deprecated.protected voidsetStartTime(long startTime) Deprecated.protected voidDeprecated.
-
Constructor Details
-
AbstractSession
Deprecated.Creates a new abstract session with the given session ID.- Parameters:
sessionId- The session ID for this session
-
-
Method Details
-
getSessionId
Deprecated.Returns this session's session ID.- Returns:
- See above
-
addTrace
Deprecated.Adds a trace to this session.- Parameters:
trace- The trace to add.
-
getStateContainedTraces
Deprecated.Returns the traces contained in this session.- Returns:
- See above
-
getStartTimestamp
public long getStartTimestamp()Deprecated.Returns this trace's start timestamp.- Returns:
- See above
-
getEndTimestamp
public long getEndTimestamp()Deprecated.Returns this trace's end timestamp.- Returns:
- See above
-
getStartTime
protected long getStartTime()Deprecated. -
getEndTime
protected long getEndTime()Deprecated. -
setStartTime
protected void setStartTime(long startTime) Deprecated. -
setEndTime
protected void setEndTime(long endTime) Deprecated. -
setState
protected void setState(kieker.tools.trace.analysis.systemModel.AbstractSession.ISessionState<T> state) Deprecated. -
getContainedTraces
Deprecated. -
setCompleted
public void setCompleted()Deprecated.Marks this session as completed, i.e. prevents any future changes. -
getOrderComparator
Deprecated.
-