public class MessageTrace extends AbstractTrace
AbstractMessage
).DEFAULT_SESSION_ID, NO_TRACE_ID
Constructor and Description |
---|
MessageTrace(long traceId,
java.util.List<AbstractMessage> seq)
Creates a new message trace from the given data.
|
MessageTrace(long traceId,
java.lang.String sessionId,
java.util.List<AbstractMessage> seq)
Creates a new message trace from the given data.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
long |
getEndTimestamp()
Returns this trace's end timestamp.
|
java.util.List<AbstractMessage> |
getSequenceAsVector()
Returns the message sequence contained in this trace as an (unmodifiable) list.
|
long |
getStartTimestamp()
Returns this trace's start timestamp.
|
int |
hashCode() |
java.lang.String |
toString() |
getSessionId, getTraceId, getTraceInformation
public MessageTrace(long traceId, java.util.List<AbstractMessage> seq)
traceId
- The ID for this message traceseq
- The messages contained in this message tracepublic MessageTrace(long traceId, java.lang.String sessionId, java.util.List<AbstractMessage> seq)
traceId
- The ID for this trace.sessionId
- The ID of the current session.seq
- The list of messages this trace consists of.public final java.util.List<AbstractMessage> getSequenceAsVector()
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
AbstractTrace
hashCode
in class AbstractTrace
public long getStartTimestamp()
AbstractTrace
getStartTimestamp
in class AbstractTrace
public long getEndTimestamp()
AbstractTrace
getEndTimestamp
in class AbstractTrace
public boolean equals(java.lang.Object obj)
equals
in class AbstractTrace
Copyright 2017 Kieker Project, http://kieker-monitoring.net