Kieker 1.8

kieker.tools.traceAnalysis.systemModel
Class AbstractTrace

java.lang.Object
  extended by kieker.tools.traceAnalysis.systemModel.AbstractTrace
Direct Known Subclasses:
ExecutionTrace, MessageTrace

public abstract class AbstractTrace
extends Object

This is the abstract base for a trace (like a message trace e.g.).

Since:
1.2
Author:
Andre van Hoorn

Field Summary
static String NO_TRACE_ID
          This constant can be used as an ID to show that the trace has no ID.
 
Constructor Summary
AbstractTrace(long traceId)
          This constructor uses the given parameters to initialize the fields of this trace.
AbstractTrace(long traceId, String sessionId)
          This constructor uses the given parameters to initialize the fields of this trace.
 
Method Summary
abstract  boolean equals(Object obj)
           
 String getSessionId()
          Delivers the ID of the session.
 long getTraceId()
           
 TraceInformation getTraceInformation()
          Returns information about this trace.
 int hashCode()
          
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NO_TRACE_ID

public static final String NO_TRACE_ID
This constant can be used as an ID to show that the trace has no ID.

See Also:
Constant Field Values
Constructor Detail

AbstractTrace

public AbstractTrace(long traceId)
This constructor uses the given parameters to initialize the fields of this trace.

Parameters:
traceId - The trace ID.

AbstractTrace

public AbstractTrace(long traceId,
                     String sessionId)
This constructor uses the given parameters to initialize the fields of this trace.

Parameters:
traceId - The trace ID.
sessionId - The session ID.
Method Detail

getTraceInformation

public TraceInformation getTraceInformation()
Returns information about this trace.

Returns:
See above

getTraceId

public long getTraceId()

getSessionId

public String getSessionId()
Delivers the ID of the session.

Returns:
The session ID.

hashCode

public int hashCode()

Overrides:
hashCode in class Object

equals

public abstract boolean equals(Object obj)
Overrides:
equals in class Object

Kieker 1.8

Copyright 2013 Kieker Project, http://kieker-monitoring.net