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
public abstract class AbstractSession<T extends AbstractTrace>
extends java.lang.Object
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
Constructors Constructor Description AbstractSession(java.lang.String sessionId)Deprecated.Creates a new abstract session with the given session ID. -
Method Summary
Modifier and Type Method Description voidaddTrace(T trace)Deprecated.Adds a trace to this session.protected java.util.SortedSet<T>getContainedTraces()Deprecated.protected longgetEndTime()Deprecated.longgetEndTimestamp()Deprecated.Returns this trace's end timestamp.protected abstract java.util.Comparator<? super T>getOrderComparator()Deprecated.java.lang.StringgetSessionId()Deprecated.Returns this session's session ID.protected longgetStartTime()Deprecated.longgetStartTimestamp()Deprecated.Returns this trace's start timestamp.java.util.SortedSet<T>getStateContainedTraces()Deprecated.Returns the traces contained in this session.voidsetCompleted()Deprecated.Marks this session as completed, i.e.protected voidsetEndTime(long endTime)Deprecated.protected voidsetStartTime(long startTime)Deprecated.protected voidsetState(kieker.tools.trace.analysis.systemModel.AbstractSession.ISessionState<T> state)Deprecated.
-
Constructor Details
-
AbstractSession
public AbstractSession(java.lang.String sessionId)Deprecated.Creates a new abstract session with the given session ID.- Parameters:
sessionId- The session ID for this session
-
-
Method Details
-
getSessionId
public java.lang.String 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.
-