Package com.newrelic.agent.bridge
Interface AsyncApi
-
- All Known Implementing Classes:
NoOpAsyncApi
public interface AsyncApi
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description voidcompleteAsync(java.lang.Object asyncContext)Deprecated.voiderrorAsync(java.lang.Object asyncContext, java.lang.Throwable t)Deprecated.voidfinishRootTracer()Deprecated.TransactionresumeAsync(java.lang.Object asyncContext)Deprecated.voidsuspendAsync(java.lang.Object asyncContext)Deprecated.
-
-
-
Method Detail
-
errorAsync
@Deprecated void errorAsync(java.lang.Object asyncContext, java.lang.Throwable t)Deprecated.Record an error for the asynchronous operation represented by the given async context.- Parameters:
asyncContext-
-
suspendAsync
@Deprecated void suspendAsync(java.lang.Object asyncContext)
Deprecated.Suspend the asynchronous operation represented by the given async context.- Parameters:
asyncContext-
-
resumeAsync
@Deprecated Transaction resumeAsync(java.lang.Object asyncContext)
Deprecated.Resume the asynchronous operation represented by the given async context.- Parameters:
asyncContext-
-
completeAsync
@Deprecated void completeAsync(java.lang.Object asyncContext)
Deprecated.Complete the asynchronous operation represented by the given async context.- Parameters:
asyncContext-
-
finishRootTracer
@Deprecated void finishRootTracer()
Deprecated.Finish the root tracer for the current transaction.
-
-