Class NoOpAsyncApi

  • All Implemented Interfaces:
    AsyncApi

    public class NoOpAsyncApi
    extends java.lang.Object
    implements AsyncApi
    • Constructor Summary

      Constructors 
      Constructor Description
      NoOpAsyncApi()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void completeAsync​(java.lang.Object asyncContext)
      Complete the asynchronous operation represented by the given async context.
      void errorAsync​(java.lang.Object context, java.lang.Throwable t)
      Record an error for the asynchronous operation represented by the given async context.
      void finishRootTracer()
      Finish the root tracer for the current transaction.
      Transaction resumeAsync​(java.lang.Object asyncContext)
      Resume the asynchronous operation represented by the given async context.
      void suspendAsync​(java.lang.Object asyncContext)
      Suspend the asynchronous operation represented by the given async context.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NoOpAsyncApi

        public NoOpAsyncApi()
    • Method Detail

      • errorAsync

        public void errorAsync​(java.lang.Object context,
                               java.lang.Throwable t)
        Description copied from interface: AsyncApi
        Record an error for the asynchronous operation represented by the given async context.
        Specified by:
        errorAsync in interface AsyncApi
      • suspendAsync

        public void suspendAsync​(java.lang.Object asyncContext)
        Description copied from interface: AsyncApi
        Suspend the asynchronous operation represented by the given async context.
        Specified by:
        suspendAsync in interface AsyncApi
      • resumeAsync

        public Transaction resumeAsync​(java.lang.Object asyncContext)
        Description copied from interface: AsyncApi
        Resume the asynchronous operation represented by the given async context.
        Specified by:
        resumeAsync in interface AsyncApi
      • completeAsync

        public void completeAsync​(java.lang.Object asyncContext)
        Description copied from interface: AsyncApi
        Complete the asynchronous operation represented by the given async context.
        Specified by:
        completeAsync in interface AsyncApi
      • finishRootTracer

        public void finishRootTracer()
        Description copied from interface: AsyncApi
        Finish the root tracer for the current transaction.
        Specified by:
        finishRootTracer in interface AsyncApi