com.appdynamics.eumagent.runtime
Interface CallTracker


public interface CallTracker

Marker interface for methods that are tracked for info point information. Created by ajay.nadathur on 6/18/14.


Method Summary
 void reportCallEnded()
          Report that call ended.
 void reportCallEndedWithException(java.lang.Exception exceptionThrown)
          Report that the call failed and threw an exception.
 void reportCallEndedWithReturnValue(java.lang.Object returnValue)
          Report that the call ended by returning a value.
 CallTracker withArguments(java.lang.Object... args)
          Specify the arguments with which the method call was invoked.
 

Method Detail

withArguments

CallTracker withArguments(java.lang.Object... args)
Specify the arguments with which the method call was invoked.

Parameters:
args - list of arguments to the method.
Returns:
the same tracker

reportCallEndedWithReturnValue

void reportCallEndedWithReturnValue(java.lang.Object returnValue)
Report that the call ended by returning a value. Future invocations on this object has no effect.

Parameters:
returnValue - value returned by the method.

reportCallEndedWithException

void reportCallEndedWithException(java.lang.Exception exceptionThrown)
Report that the call failed and threw an exception. Future invocations on this object has no effect.

Parameters:
exceptionThrown - exception thrown by the method.

reportCallEnded

void reportCallEnded()
Report that call ended. Future invocations on this object has no effect.