org.eclipse.tptp.trace.arm.internal.agent.trace.events
Class InvocationContextRecord
java.lang.Object
org.eclipse.tptp.trace.arm.internal.agent.trace.events.BaseRecord
org.eclipse.tptp.trace.arm.internal.agent.trace.events.InvocationContextRecord
- All Implemented Interfaces:
- IBaseRecord
public class InvocationContextRecord
- extends BaseRecord
The InvocationContextRecord contains information about a remotely executed
method, over a distributed environment. This piece of context information can
be used to correlate a method call to the method call made on the caller's
machine. This context is usually produced on the remote machine (where the
call is made to) or is sometimes used for asynchronous calls on a local
machine (i.e. JMS or MQ).
| Fields inherited from class org.eclipse.tptp.trace.arm.internal.agent.trace.events.BaseRecord |
_time |
|
Constructor Summary |
InvocationContextRecord(java.lang.String _nodeUUIDRef,
java.lang.String _processUUIDRef,
java.lang.String _agentUUIDRef,
long _threadIdRef,
long _ticket,
long _sequenceCounter)
Constructor. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
InvocationContextRecord
public InvocationContextRecord(java.lang.String _nodeUUIDRef,
java.lang.String _processUUIDRef,
java.lang.String _agentUUIDRef,
long _threadIdRef,
long _ticket,
long _sequenceCounter)
- Constructor.
- Parameters:
_nodeUUIDRef - is the node ID that this method invocation is
associated with._processUUIDRef - is the process ID that this method invocation is
associated with._agentUUIDRef - is the agent ID that this method invocation is
associated with._threadIdRef - is the thread ID that this method invocation is
associated with._ticket - is an integer "token" that is used to correlate method
calls between the client and the server._sequenceCounter - is a sequenecd counter that identifies the number
of events (method executions) taken on the current object.
getAgentUUIDRef
public java.lang.String getAgentUUIDRef()
- Returns:
- Returns the _agentUUIDRef.
setAgentUUIDRef
public void setAgentUUIDRef(java.lang.String ref)
- Parameters:
ref - The _agentUUIDRef to set.
getNodeUUIDRef
public java.lang.String getNodeUUIDRef()
- Returns:
- Returns the _nodeUUIDRef.
setNodeUUIDRef
public void setNodeUUIDRef(java.lang.String ref)
- Parameters:
ref - The _nodeUUIDRef to set.
getProcessUUIDRef
public java.lang.String getProcessUUIDRef()
- Returns:
- Returns the _processUUIDRef.
setProcessUUIDRef
public void setProcessUUIDRef(java.lang.String ref)
- Parameters:
ref - The _processUUIDRef to set.
getSequenceCounter
public long getSequenceCounter()
- Returns:
- Returns the _sequenceCounter.
setSequenceCounter
public void setSequenceCounter(long counter)
- Parameters:
counter - The _sequenceCounter to set.
getThreadIdRef
public long getThreadIdRef()
- Returns:
- Returns the _threadIdRef.
setThreadIdRef
public void setThreadIdRef(long idRef)
- Parameters:
idRef - The _threadIdRef to set.
getTicket
public long getTicket()
- Returns:
- Returns the _ticket.
setTicket
public void setTicket(long _ticket)
- Parameters:
_ticket - The _ticket to set.
toString
public java.lang.String toString()
- Specified by:
toString in interface IBaseRecord- Overrides:
toString in class java.lang.Object
- Returns:
- String of the records' serialization.