Interface IAjaxLongRunningExecutionCallback

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

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

      • onLongRunningExecution

        void onLongRunningExecution​(@Nonnull
                                    IAjaxInvoker aInvoker,
                                    @Nonnull
                                    String sFunctionName,
                                    @Nonnull
                                    com.helger.web.scope.IRequestWebScopeWithoutResponse aRequestScope,
                                    @Nonnull
                                    IAjaxExecutor aAjaxHandler,
                                    @Nonnegative
                                    long nExecutionMillis)
        Callback method
        Parameters:
        aInvoker - The IAjaxInvoker object that invoked the AJAX function
        sFunctionName - The name of the invoked function
        aRequestScope - The request scope of the current invocation
        aAjaxHandler - The handler that was used
        nExecutionMillis - The execution time in milliseconds