Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NO_SESSION_ID
This constant marks that an execution has no session ID.
|
Constructor and Description |
---|
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,
java.lang.String sessionId,
int eoi,
int ess,
long tin,
long tout,
boolean assumed)
Creates a new Execution instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Compares this
Execution with the given object with respect to type and fields. |
AllocationComponent |
getAllocationComponent() |
int |
getEoi() |
int |
getEss() |
Operation |
getOperation() |
java.lang.String |
getSessionId()
Returns the sessionId and a default sessionId if no sessionId assigned.
|
long |
getTin() |
long |
getTout() |
long |
getTraceId() |
int |
hashCode() |
boolean |
isAssumed() |
java.lang.String |
toString() |
public static final java.lang.String NO_SESSION_ID
public Execution(Operation op, AllocationComponent allocationComponent, long traceId, java.lang.String sessionId, int eoi, int ess, long tin, long tout, boolean assumed)
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.public Execution(Operation op, AllocationComponent allocationComponent, long traceId, int eoi, int ess, long tin, long tout, boolean assumed)
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.public final AllocationComponent getAllocationComponent()
public final int getEoi()
public final int getEss()
public final Operation getOperation()
public final java.lang.String getSessionId()
public final long getTin()
public final long getTout()
public final long getTraceId()
public boolean isAssumed()
public boolean equals(java.lang.Object obj)
Execution
with the given object with respect to type and fields. All
fields but the isAssumed()
are considered for comparison.equals
in class java.lang.Object
obj
- The object to be compared with this instance.public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
Copyright 2017 Kieker Project, http://kieker-monitoring.net