TPTP 4.6.0 Tracing and Profiling Tools Project
Internal API Specification

org.eclipse.tptp.trace.arm.internal.agent.trace.events
Class InvocationContextRecord

java.lang.Object
  extended by org.eclipse.tptp.trace.arm.internal.agent.trace.events.BaseRecord
      extended by 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).


Field Summary
 
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.
 
Method Summary
 java.lang.String getAgentUUIDRef()
           
 java.lang.String getNodeUUIDRef()
           
 java.lang.String getProcessUUIDRef()
           
 long getSequenceCounter()
           
 long getThreadIdRef()
           
 long getTicket()
           
 void setAgentUUIDRef(java.lang.String ref)
           
 void setNodeUUIDRef(java.lang.String ref)
           
 void setProcessUUIDRef(java.lang.String ref)
           
 void setSequenceCounter(long counter)
           
 void setThreadIdRef(long idRef)
           
 void setTicket(long _ticket)
           
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.tptp.trace.arm.internal.agent.trace.events.BaseRecord
getTime, getXmlPrinter, setTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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.
Method Detail

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.

TPTP 4.6.0 Tracing and Profiling Tools Project
Internal API Specification