Interface BatchOperation.BatchContextController
-
- Enclosing interface:
- BatchOperation
public static interface BatchOperation.BatchContextController
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
awaitCompletion()
Block until the completion of any pending task.void
pause(long maxMillis)
Causes the batch operation to skip processing on its scheduled executions until the number of specified milliseconds has passed or resume() is called.void
requestExecution()
Notifies the batch context that data has changed in this operation, and evaluation should be queued.void
resume()
Cancels the pause operation.
-
-
-
Method Detail
-
requestExecution
void requestExecution()
Notifies the batch context that data has changed in this operation, and evaluation should be queued. The operation should not expect immediate execution, and should not expect that execution will happen on the same thread.
-
pause
void pause(long maxMillis)
Causes the batch operation to skip processing on its scheduled executions until the number of specified milliseconds has passed or resume() is called.
-
resume
void resume()
Cancels the pause operation. The batch operation will resume processing on its next scheduled execution.
-
awaitCompletion
void awaitCompletion()
Block until the completion of any pending task.
-
-