Class Execution

java.lang.Object
kieker.tools.trace.analysis.systemModel.Execution

@Deprecated public class Execution extends Object
Deprecated.
1.15 moved to kieker-model
This class represents an execution within the trace analysis tool. Note that no assumptions about the TimeUnit used for the timestamps are made (getTin() and getTout()).
Since:
1.1
Author:
Andre van Hoorn
  • Field Details

    • NO_SESSION_ID

      public static final String NO_SESSION_ID
      Deprecated.
      This constant marks that an execution has no session ID.
      See Also:
  • Constructor Details

    • Execution

      public Execution(Operation op, AllocationComponent allocationComponent, long traceId, String sessionId, int eoi, int ess, long tin, long tout, boolean assumed)
      Deprecated.
      Creates a new Execution instance.
      Parameters:
      op - The operation of the execution.
      allocationComponent - The allocation component.
      traceId - The ID of the trace.
      sessionId - The ID of the session.
      eoi - The execution order index.
      ess - The execution stack size.
      tin - The timestamp the execution started.
      tout - The timestamp the execution finished.
      assumed - Determines whether the execution is assumed or not.
    • Execution

      public Execution(Operation op, AllocationComponent allocationComponent, long traceId, int eoi, int ess, long tin, long tout, boolean assumed)
      Deprecated.
      Creates a new Execution instance. The sessionId is set to a default value.
      Parameters:
      op - The operation of the execution.
      allocationComponent - The allocation component.
      traceId - The ID of the trace.
      eoi - The execution order index.
      ess - The execution stack size.
      tin - The timestamp the execution started.
      tout - The timestamp the execution finished.
      assumed - Determines whether the execution is assumed or not.
  • Method Details

    • getAllocationComponent

      public final AllocationComponent getAllocationComponent()
      Deprecated.
    • getEoi

      public final int getEoi()
      Deprecated.
    • getEss

      public final int getEss()
      Deprecated.
    • getOperation

      public final Operation getOperation()
      Deprecated.
    • getSessionId

      public final String getSessionId()
      Deprecated.
      Returns the sessionId and a default sessionId if no sessionId assigned. The return value won't be null.
      Returns:
      the sessionId.
    • getTin

      public final long getTin()
      Deprecated.
    • getTout

      public final long getTout()
      Deprecated.
    • getTraceId

      public final long getTraceId()
      Deprecated.
    • isAssumed

      public boolean isAssumed()
      Deprecated.
    • equals

      public boolean equals(Object obj)
      Deprecated.
      Compares this Execution with the given object with respect to type and fields. All fields but the isAssumed() are considered for comparison.
      Overrides:
      equals in class Object
      Parameters:
      obj - The object to be compared with this instance.
      Returns:
      true if and only if the current object and the given object have equal values.
    • hashCode

      public int hashCode()
      Deprecated.
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object