Package com.helger.photon.ajax.callback
Interface IAjaxLongRunningExecutionCallback
-
- All Superinterfaces:
com.helger.commons.callback.ICallback
- All Known Implementing Classes:
LoggingAjaxLongRunningExecutionCallback
public interface IAjaxLongRunningExecutionCallback extends com.helger.commons.callback.ICallbackCallback interface to be used with theIAjaxInvokerto get notified on long running executions.- Author:
- Philip Helger
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonLongRunningExecution(IAjaxInvoker aInvoker, String sFunctionName, com.helger.web.scope.IRequestWebScopeWithoutResponse aRequestScope, IAjaxExecutor aAjaxHandler, long nExecutionMillis)Callback method
-
-
-
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- TheIAjaxInvokerobject that invoked the AJAX functionsFunctionName- The name of the invoked functionaRequestScope- The request scope of the current invocationaAjaxHandler- The handler that was usednExecutionMillis- The execution time in milliseconds
-
-