Kieker 1.6

kieker.tools.traceAnalysis.systemModel
Class Execution

java.lang.Object
  extended by kieker.tools.traceAnalysis.systemModel.Execution

public class Execution
extends Object

Author:
Andre van Hoorn

Field Summary
static String NO_SESSION_ID
           
 
Constructor Summary
Execution(Operation op, AllocationComponent allocationComponent, long traceId, int eoi, int ess, long tin, long tout, boolean assumed)
          Creates a new Execution instance.
Execution(Operation op, AllocationComponent allocationComponent, long traceId, String sessionId, int eoi, int ess, long tin, long tout, boolean assumed)
          Creates a new Execution instance.
 
Method Summary
 boolean equals(Object obj)
          Compares this Execution with the given object with respect to type and fields.
 AllocationComponent getAllocationComponent()
           
 int getEoi()
           
 int getEss()
           
 Operation getOperation()
           
 String getSessionId()
          Returns the sessionId and a default sessionId if no sessionId assigned.
 long getTin()
           
 long getTout()
           
 long getTraceId()
           
 int hashCode()
           
 boolean isAssumed()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

NO_SESSION_ID

public static final String NO_SESSION_ID
See Also:
Constant Field Values
Constructor Detail

Execution

public Execution(Operation op,
                 AllocationComponent allocationComponent,
                 long traceId,
                 String sessionId,
                 int eoi,
                 int ess,
                 long tin,
                 long tout,
                 boolean assumed)
Creates a new Execution instance.

Parameters:
op -
allocationComponent -
traceId -
sessionId -
eoi -
ess -
tin -
tout -
Throws:
NullPointerException - iff any of the passed objects is null.

Execution

public Execution(Operation op,
                 AllocationComponent allocationComponent,
                 long traceId,
                 int eoi,
                 int ess,
                 long tin,
                 long tout,
                 boolean assumed)
Creates a new Execution instance. The sessionId is set to a default value.

Parameters:
op -
allocationComponent -
traceId -
eoi -
ess -
tin -
tout -
Throws:
NullPointerException - iff any of the passed objects is null.
Method Detail

getAllocationComponent

public final AllocationComponent getAllocationComponent()

getEoi

public final int getEoi()

getEss

public final int getEss()

getOperation

public final Operation getOperation()

getSessionId

public final String getSessionId()
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()

getTout

public final long getTout()

getTraceId

public final long getTraceId()

isAssumed

public boolean isAssumed()

equals

public boolean equals(Object obj)
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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object

Kieker 1.6

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