Kieker 1.4

kieker.tools.traceAnalysis.systemModel
Class Execution

java.lang.Object
  extended by kieker.tools.traceAnalysis.systemModel.Execution
All Implemented Interfaces:
IAnalysisEvent

public class Execution
extends Object
implements IAnalysisEvent

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)
          Creates a new Execution instance.
Execution(Operation op, AllocationComponent allocationComponent, long traceId, String sessionId, int eoi, int ess, long tin, long tout)
          Creates a new Execution instance.
 
Method Summary
 boolean equals(Object obj)
           
 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()
           
 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)
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)
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()

equals

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

Copyright 2011 the Kieker Project, http://kieker.sourceforge.net