Vordel SDK

com.vordel.circuit
Class FilterInvocation

java.lang.Object
  extended by com.vordel.circuit.FilterInvocation

public class FilterInvocation
extends java.lang.Object

This class tracks the statistics for a filter's invocation.


Field Summary
 long completionTimestamp
           
 com.vordel.log.LogMessage loggedMessage
           
 java.util.ArrayList<java.lang.Integer> messageBodyVersions
           
 MessageProcessor processor
          The MessageProcessor we are tracking.
 int result
           
static int RESULT_EXCEPTION
          The MessageProcessor has aborted.
static int RESULT_FAILURE
          The MessageProcessor has failed.
static int RESULT_SUCCESS
          The MessageProcessor has succeeded.
 long startTimestamp
           
 java.util.ArrayList<CircuitCallRecord> subPath
           
 
Constructor Summary
FilterInvocation(MessageProcessor processor)
          Constructor which takes all relevant statistics.
 
Method Summary
 boolean addPath(CircuitCallRecord cip)
           
 void complete(int result)
           
 long getExecTime()
           
 java.lang.String getStatus()
           
 boolean removePath(CircuitCallRecord cip)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESULT_FAILURE

public static final int RESULT_FAILURE
The MessageProcessor has failed.

See Also:
Constant Field Values

RESULT_SUCCESS

public static final int RESULT_SUCCESS
The MessageProcessor has succeeded.

See Also:
Constant Field Values

RESULT_EXCEPTION

public static final int RESULT_EXCEPTION
The MessageProcessor has aborted.

See Also:
Constant Field Values

processor

public final MessageProcessor processor
The MessageProcessor we are tracking.


startTimestamp

public long startTimestamp

completionTimestamp

public long completionTimestamp

result

public int result

subPath

public java.util.ArrayList<CircuitCallRecord> subPath

loggedMessage

public com.vordel.log.LogMessage loggedMessage

messageBodyVersions

public java.util.ArrayList<java.lang.Integer> messageBodyVersions
Constructor Detail

FilterInvocation

public FilterInvocation(MessageProcessor processor)
Constructor which takes all relevant statistics.

Parameters:
processor - The MessageProcessor we are tracking.
Method Detail

complete

public void complete(int result)

getStatus

public java.lang.String getStatus()

getExecTime

public long getExecTime()

addPath

public boolean addPath(CircuitCallRecord cip)

removePath

public boolean removePath(CircuitCallRecord cip)

Vordel SDK


This documentation and all its contents and graphics, copyright © 1999 - 2011 Vordel