T
- The concrete type of trace this session is based onpublic abstract class AbstractSession<T extends AbstractTrace>
extends java.lang.Object
Constructor and Description |
---|
AbstractSession(java.lang.String sessionId)
Creates a new abstract session with the given session ID.
|
Modifier and Type | Method and Description |
---|---|
void |
addTrace(T trace)
Adds a trace to this session.
|
protected java.util.SortedSet<T> |
getContainedTraces() |
protected long |
getEndTime() |
long |
getEndTimestamp()
Returns this trace's end timestamp.
|
protected abstract java.util.Comparator<? super T> |
getOrderComparator() |
java.lang.String |
getSessionId()
Returns this session's session ID.
|
protected long |
getStartTime() |
long |
getStartTimestamp()
Returns this trace's start timestamp.
|
java.util.SortedSet<T> |
getStateContainedTraces()
Returns the traces contained in this session.
|
void |
setCompleted()
Marks this session as completed, i.e.
|
protected void |
setEndTime(long endTime) |
protected void |
setStartTime(long startTime) |
protected void |
setState(kieker.tools.trace.analysis.systemModel.AbstractSession.ISessionState<T> state) |
public AbstractSession(java.lang.String sessionId)
sessionId
- The session ID for this sessionpublic java.lang.String getSessionId()
public void addTrace(T trace)
trace
- The trace to add.public java.util.SortedSet<T> getStateContainedTraces()
public long getStartTimestamp()
public long getEndTimestamp()
protected long getStartTime()
protected long getEndTime()
protected void setStartTime(long startTime)
protected void setEndTime(long endTime)
protected void setState(kieker.tools.trace.analysis.systemModel.AbstractSession.ISessionState<T> state)
protected java.util.SortedSet<T> getContainedTraces()
public void setCompleted()
protected abstract java.util.Comparator<? super T> getOrderComparator()
Copyright 2020 Kieker Project, http://kieker-monitoring.net