Interface IAPILongRunningExecutionCallback

  • All Superinterfaces:
    com.helger.commons.callback.ICallback
    All Known Implementing Classes:
    LoggingAPILongRunningExecutionCallback

    public interface IAPILongRunningExecutionCallback
    extends com.helger.commons.callback.ICallback
    Callback interface to be used with the IAPIInvoker to get notified on long running executions.
    Author:
    Philip Helger
    • Method Detail

      • onLongRunningExecution

        void onLongRunningExecution​(@Nonnull
                                    IAPIInvoker aInvoker,
                                    @Nonnull
                                    InvokableAPIDescriptor aInvokableDescriptor,
                                    @Nonnull
                                    com.helger.web.scope.IRequestWebScopeWithoutResponse aRequestScope,
                                    @Nonnegative
                                    long nExecutionMillis)
        Callback method
        Parameters:
        aInvoker - The IAPIInvoker object that invoked the API
        aInvokableDescriptor - The descriptor to be invoked.
        aRequestScope - The request scope of the current invocation
        nExecutionMillis - The execution time in milliseconds