Interface InstrumentationContext<T>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void onCompleted​(T result, java.lang.Throwable t)
      This is invoked when the instrumentation step is fully completed
      void onDispatched​(java.util.concurrent.CompletableFuture<T> result)
      This is invoked when the instrumentation step is initially dispatched
    • Method Detail

      • onDispatched

        void onDispatched​(java.util.concurrent.CompletableFuture<T> result)
        This is invoked when the instrumentation step is initially dispatched
        Parameters:
        result - the result of the step as a completable future
      • onCompleted

        void onCompleted​(T result,
                         java.lang.Throwable t)
        This is invoked when the instrumentation step is fully completed
        Parameters:
        result - the result of the step (which may be null)
        t - this exception will be non null if an exception was thrown during the step