Package com.helger.photon.api
Interface IAPILongRunningExecutionCallback
-
- All Superinterfaces:
com.helger.commons.callback.ICallback
- All Known Implementing Classes:
LoggingAPILongRunningExecutionCallback
public interface IAPILongRunningExecutionCallback extends com.helger.commons.callback.ICallbackCallback interface to be used with theIAPIInvokerto get notified on long running executions.- Author:
- Philip Helger
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonLongRunningExecution(IAPIInvoker aInvoker, InvokableAPIDescriptor aInvokableDescriptor, com.helger.web.scope.IRequestWebScopeWithoutResponse aRequestScope, long nExecutionMillis)Callback method
-
-
-
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- TheIAPIInvokerobject that invoked the APIaInvokableDescriptor- The descriptor to be invoked.aRequestScope- The request scope of the current invocationnExecutionMillis- The execution time in milliseconds
-
-