Package com.newrelic.agent.bridge
Class NoOpAsyncApi
- java.lang.Object
-
- com.newrelic.agent.bridge.NoOpAsyncApi
-
-
Constructor Summary
Constructors Constructor Description NoOpAsyncApi()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcompleteAsync(java.lang.Object asyncContext)Complete the asynchronous operation represented by the given async context.voiderrorAsync(java.lang.Object context, java.lang.Throwable t)Record an error for the asynchronous operation represented by the given async context.voidfinishRootTracer()Finish the root tracer for the current transaction.TransactionresumeAsync(java.lang.Object asyncContext)Resume the asynchronous operation represented by the given async context.voidsuspendAsync(java.lang.Object asyncContext)Suspend the asynchronous operation represented by the given async context.
-
-
-
Method Detail
-
errorAsync
public void errorAsync(java.lang.Object context, java.lang.Throwable t)Description copied from interface:AsyncApiRecord an error for the asynchronous operation represented by the given async context.- Specified by:
errorAsyncin interfaceAsyncApi
-
suspendAsync
public void suspendAsync(java.lang.Object asyncContext)
Description copied from interface:AsyncApiSuspend the asynchronous operation represented by the given async context.- Specified by:
suspendAsyncin interfaceAsyncApi
-
resumeAsync
public Transaction resumeAsync(java.lang.Object asyncContext)
Description copied from interface:AsyncApiResume the asynchronous operation represented by the given async context.- Specified by:
resumeAsyncin interfaceAsyncApi
-
completeAsync
public void completeAsync(java.lang.Object asyncContext)
Description copied from interface:AsyncApiComplete the asynchronous operation represented by the given async context.- Specified by:
completeAsyncin interfaceAsyncApi
-
finishRootTracer
public void finishRootTracer()
Description copied from interface:AsyncApiFinish the root tracer for the current transaction.- Specified by:
finishRootTracerin interfaceAsyncApi
-
-