Kieker 1.4

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

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()
           
 Object getRetVal()
           
 String getSessionId()
           
 long getTin()
           
 long getTout()
           
 long getTraceId()
           
 Class<?>[] getValueTypes()
           
 int hashCode()
           
 void initFromArray(Object[] values)
           
 boolean isEntryPoint()
           
 void setClassName(String className)
           
 void setEntryPoint(boolean entryPoint)
           
 void setEoi(int eoi)
           
 void setEss(int ess)
           
 void setExperimentId(int experimentId)
           
 void setHostName(String hostName)
           
 void setOperationName(String operationName)
           
 void setRetVal(Object retVal)
           
 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, notify, notifyAll, wait, wait, wait
 

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

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:
experimentId - the experimentId to set

getHostName

public final String getHostName()
Returns:
the hostName

setHostName

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

getClassName

public final String getClassName()
Returns:
the className

setClassName

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

getOperationName

public final String getOperationName()
Returns:
the operationName

setOperationName

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

getSessionId

public final String getSessionId()
Returns:
the sessionId

setSessionId

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

getTraceId

public final long getTraceId()
Returns:
the traceId

setTraceId

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

getTin

public final long getTin()
Returns:
the tin

setTin

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

getTout

public final long getTout()
Returns:
the tout

setTout

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

getEoi

public final int getEoi()
Returns:
the eoi

setEoi

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

getEss

public final int getEss()
Returns:
the ess

setEss

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

getRetVal

public Object getRetVal()

setRetVal

public void setRetVal(Object retVal)

isEntryPoint

public boolean isEntryPoint()

setEntryPoint

public void setEntryPoint(boolean entryPoint)

Kieker 1.4

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