Kieker 1.3

kieker.common.record
Class OperationExecutionRecord

java.lang.Object
  extended by kieker.common.record.AbstractMonitoringRecord
      extended by kieker.common.record.OperationExecutionRecord
All Implemented Interfaces:
Serializable, IMonitoringRecord

public final class OperationExecutionRecord
extends AbstractMonitoringRecord

String variables must not be null.

Author:
Andre van Hoorn, Jan Waller
See Also:
Serialized Form

Field Summary
 String className
           
 int eoi
           
 int ess
           
 int experimentId
           
 String hostName
           
 boolean isEntryPoint
          Used by probes to intermediate information.
 String operationName
           
 Object retVal
          Used by probes to store the return value of executed operations.
 String sessionId
           
 long tin
           
 long tout
           
 long traceId
           
 
Constructor Summary
OperationExecutionRecord()
          Returns an instance of OperationExecutionRecord.
OperationExecutionRecord(String componentName, String methodName, long traceId)
           
OperationExecutionRecord(String componentName, String opName, long tin, long tout)
           
OperationExecutionRecord(String componentName, String opName, long traceId, long tin, long tout)
           
OperationExecutionRecord(String componentName, String opName, String sessionId, long traceId, long tin, long tout)
           
OperationExecutionRecord(String componentName, String opName, String sessionId, long traceId, long tin, long tout, String vnName, int eoi, int ess)
           
 
Method Summary
 boolean equals(Object o)
          Compares two records.
 String getClassName()
           
 int getEoi()
           
 int getEss()
           
 int getExperimentId()
           
 String getHostName()
           
 String getOperationName()
           
 String getSessionId()
           
 long getTin()
           
 long getTout()
           
 long getTraceId()
           
 Class<?>[] getValueTypes()
           
 void initFromArray(Object[] values)
           
 void setClassName(String className)
           
 void setEoi(int eoi)
           
 void setEss(int ess)
           
 void setExperimentId(int experimentId)
           
 void setHostName(String hostName)
           
 void setOperationName(String operationName)
           
 void setSessionId(String sessionId)
           
 void setTin(long tin)
           
 void setTout(long tout)
           
 void setTraceId(long traceId)
           
 Object[] toArray()
           
 
Methods inherited from class kieker.common.record.AbstractMonitoringRecord
getLoggingTimestamp, setLoggingTimestamp, toString
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

experimentId

public volatile int experimentId

hostName

public volatile String hostName

className

public volatile String className

operationName

public volatile String operationName

sessionId

public volatile String sessionId

traceId

public volatile long traceId

tin

public volatile long tin

tout

public volatile long tout

eoi

public volatile int eoi

ess

public volatile int ess

retVal

public transient volatile Object retVal
Used by probes to store the return value of executed operations. The field is marked transient as it must not be serialized.


isEntryPoint

public transient volatile boolean isEntryPoint
Used by probes to intermediate information. The field is marked transient as it must not be serialized.

Constructor Detail

OperationExecutionRecord

public OperationExecutionRecord()
Returns an instance of OperationExecutionRecord. The member variables are initialized that way that only actually used variables must be updated.


OperationExecutionRecord

public OperationExecutionRecord(String componentName,
                                String methodName,
                                long traceId)
Parameters:
componentName -
methodName -
traceId -

OperationExecutionRecord

public OperationExecutionRecord(String componentName,
                                String opName,
                                long traceId,
                                long tin,
                                long tout)
Parameters:
componentName -
opName -
traceId -
tin -
tout -

OperationExecutionRecord

public OperationExecutionRecord(String componentName,
                                String opName,
                                long tin,
                                long tout)
Parameters:
componentName -
opName -
tin -
tout -

OperationExecutionRecord

public OperationExecutionRecord(String componentName,
                                String opName,
                                String sessionId,
                                long traceId,
                                long tin,
                                long tout)
Parameters:
componentName -
opName -
sessionId -
traceId -
tin -
tout -

OperationExecutionRecord

public OperationExecutionRecord(String componentName,
                                String opName,
                                String sessionId,
                                long traceId,
                                long tin,
                                long tout,
                                String vnName,
                                int eoi,
                                int ess)
Parameters:
componentName -
opName -
sessionId -
traceId -
tin -
tout -
vnName -
eoi -
ess -
Method Detail

toArray

public final Object[] toArray()

getValueTypes

public final Class<?>[] getValueTypes()

initFromArray

public final void initFromArray(Object[] values)
                         throws IllegalArgumentException
Throws:
IllegalArgumentException

equals

public final boolean equals(Object o)
Compares two records. If one of the records contains null values for its variables, false is returned.

Overrides:
equals in class Object
Parameters:
o -
Returns:
true iff the compared records are equal.

getExperimentId

public final int getExperimentId()
Returns:
the experimentId

setExperimentId

public final void setExperimentId(int experimentId)
Parameters:
the - experimentId to set

getHostName

public final String getHostName()
Returns:
the hostName

setHostName

public final void setHostName(String hostName)
Parameters:
the - hostName to set

getClassName

public final String getClassName()
Returns:
the className

setClassName

public final void setClassName(String className)
Parameters:
the - className to set

getOperationName

public final String getOperationName()
Returns:
the operationName

setOperationName

public final void setOperationName(String operationName)
Parameters:
the - operationName to set

getSessionId

public final String getSessionId()
Returns:
the sessionId

setSessionId

public final void setSessionId(String sessionId)
Parameters:
the - sessionId to set

getTraceId

public final long getTraceId()
Returns:
the traceId

setTraceId

public final void setTraceId(long traceId)
Parameters:
the - traceId to set

getTin

public final long getTin()
Returns:
the tin

setTin

public final void setTin(long tin)
Parameters:
the - tin to set

getTout

public final long getTout()
Returns:
the tout

setTout

public final void setTout(long tout)
Parameters:
the - tout to set

getEoi

public final int getEoi()
Returns:
the eoi

setEoi

public final void setEoi(int eoi)
Parameters:
the - eoi to set

getEss

public final int getEss()
Returns:
the ess

setEss

public final void setEss(int ess)
Parameters:
the - ess to set

Kieker 1.3

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