public static interface BulkProcessor.Listener
Modifier and Type | Method and Description |
---|---|
void |
afterBulk(long executionId,
BulkRequest request,
BulkResponse response)
Callback after a successful execution of bulk request.
|
void |
afterBulk(long executionId,
BulkRequest request,
Throwable failure)
Callback after a failed execution of bulk request.
|
void |
beforeBulk(long executionId,
BulkRequest request)
Callback before the bulk is executed.
|
void beforeBulk(long executionId, BulkRequest request)
void afterBulk(long executionId, BulkRequest request, BulkResponse response)
void afterBulk(long executionId, BulkRequest request, Throwable failure)
InterruptedException
is passed, which means that request processing has been
cancelled externally, the thread's interruption status has been restored prior to calling this method.Copyright © 2009–2017. All rights reserved.