Class AbstractTrace

java.lang.Object
kieker.tools.trace.analysis.systemModel.AbstractTrace
Direct Known Subclasses:
ExecutionTrace, MessageTrace

@Deprecated
public abstract class AbstractTrace
extends java.lang.Object
Deprecated.
1.15 moved to kieker-model
This is the abstract base for a trace (like a message trace e.g.).
Since:
1.2
Author:
Andre van Hoorn
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static java.lang.String DEFAULT_SESSION_ID
    Deprecated.
    Default value for the session ID.
    static java.lang.String NO_TRACE_ID
    Deprecated.
    This constant can be used as an ID to show that the trace has no ID.
  • Constructor Summary

    Constructors 
    Modifier Constructor Description
    protected AbstractTrace()
    Deprecated.
    Default constructor.
      AbstractTrace​(long traceId)
    Deprecated.
    Creates a new abstract trace with the given trace ID and a default session ID.
      AbstractTrace​(long traceId, java.lang.String sessionId)
    Deprecated.
    Creates a new abstract trace with the given parameters.
  • Method Summary

    Modifier and Type Method Description
    abstract boolean equals​(java.lang.Object obj)
    Deprecated.
     
    abstract long getEndTimestamp()
    Deprecated.
    Returns this trace's end timestamp.
    java.lang.String getSessionId()
    Deprecated.
    Delivers the ID of the session.
    abstract long getStartTimestamp()
    Deprecated.
    Returns this trace's start timestamp.
    long getTraceId()
    Deprecated.
    Returns this trace's trace ID.
    TraceInformation getTraceInformation()
    Deprecated.
    Returns information about this trace.
    int hashCode()
    Deprecated.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • AbstractTrace

      protected AbstractTrace()
      Deprecated.
      Default constructor.
    • AbstractTrace

      public AbstractTrace​(long traceId)
      Deprecated.
      Creates a new abstract trace with the given trace ID and a default session ID.
      Parameters:
      traceId - The trace ID to use for the new trace
    • AbstractTrace

      public AbstractTrace​(long traceId, java.lang.String sessionId)
      Deprecated.
      Creates a new abstract trace with the given parameters.
      Parameters:
      traceId - The trace ID to use for the new trace
      sessionId - The session ID to use for the new trace
  • Method Details

    • getTraceInformation

      public TraceInformation getTraceInformation()
      Deprecated.
      Returns information about this trace.
      Returns:
      See above
    • getTraceId

      public long getTraceId()
      Deprecated.
      Returns this trace's trace ID.
      Returns:
      See above
    • getSessionId

      public java.lang.String getSessionId()
      Deprecated.
      Delivers the ID of the session.
      Returns:
      The session ID.
    • hashCode

      public int hashCode()
      Deprecated.
      Overrides:
      hashCode in class java.lang.Object
    • equals

      public abstract boolean equals​(java.lang.Object obj)
      Deprecated.
      Overrides:
      equals in class java.lang.Object
    • getStartTimestamp

      public abstract long getStartTimestamp()
      Deprecated.
      Returns this trace's start timestamp.
      Returns:
      See above
    • getEndTimestamp

      public abstract long getEndTimestamp()
      Deprecated.
      Returns this trace's end timestamp.
      Returns:
      See above