kieker.tools.traceAnalysis.systemModel
Class MessageTrace
java.lang.Object
kieker.tools.traceAnalysis.systemModel.AbstractTrace
kieker.tools.traceAnalysis.systemModel.MessageTrace
public class MessageTrace
- extends AbstractTrace
This class is a container for a whole trace of messages (represented as actual instances of AbstractMessage
).
- Since:
- 1.1
- Author:
- Andre van Hoorn
MessageTrace
public MessageTrace(long traceId,
List<AbstractMessage> seq)
- Creates a new instance of this class using the given parameters.
- Parameters:
traceId
- The ID for this trace.seq
- The list of messages this trace consists of.
MessageTrace
public MessageTrace(long traceId,
String sessionId,
List<AbstractMessage> seq)
- Creates a new instance of this class using the given parameters.
- Parameters:
traceId
- The ID for this trace.sessionId
- The ID of the current session.seq
- The list of messages this trace consists of.
getSequenceAsVector
public final List<AbstractMessage> getSequenceAsVector()
- Delivers the sequence stored in this message trace as a vector (a list).
- Returns:
- A list containing the whole trace.
toString
public String toString()
- Overrides:
toString
in class Object
hashCode
public int hashCode()
- Description copied from class:
AbstractTrace
-
- Overrides:
hashCode
in class AbstractTrace
equals
public boolean equals(Object obj)
- Specified by:
equals
in class AbstractTrace
Copyright 2014 Kieker Project, http://kieker-monitoring.net>