- Enclosing class:
public static interface BulkProcessor.Listener
A listener for the execution.
Method SummaryModifier and TypeMethodDescription
voidCallback after a failed execution of bulk request.
voidCallback after a successful execution of bulk request.
voidCallback before the bulk is executed.
(long executionId, BulkRequest request)Callback before the bulk is executed.
afterBulkCallback after a successful execution of bulk request.
afterBulkCallback after a failed execution of bulk request.
Note that in case an instance of
InterruptedExceptionis passed, which means that request processing has been cancelled externally, the thread's interruption status has been restored prior to calling this method.