public interface BulkLifecycle
| Modifier and Type | Method and Description |
|---|---|
void |
afterBulk(long executionId,
BulkOperator operator,
BulkOperation bulkOperation,
org.elasticsearch.client.Response response)
Executes after a bulk execution.
|
void |
afterBulk(long executionId,
BulkOperator operator,
BulkOperation bulkOperation,
Throwable failure)
Executes after a failed bulk execution.
|
void |
beforeBulk(long executionId,
BulkOperator operator,
BulkOperation bulkOperation)
Executes prior to the bulk request being forwarded to Elasticsearch.
|
void beforeBulk(long executionId,
BulkOperator operator,
BulkOperation bulkOperation)
executionId - the bulk execution identifier.operator - the BulkOperator carrying out the request.bulkOperation - the BulkOperation being executed.void afterBulk(long executionId,
BulkOperator operator,
BulkOperation bulkOperation,
org.elasticsearch.client.Response response)
executionId - the bulk execution identifier.operator - the BulkOperator carrying out the request.bulkOperation - the BulkOperation being executed.response - the response returned by the execution.void afterBulk(long executionId,
BulkOperator operator,
BulkOperation bulkOperation,
Throwable failure)
executionId - the bulk execution identifier.operator - the BulkOperator carrying out the request.bulkOperation - the BulkOperation being executed.failure - the Throwable caught during execution.Copyright © 2017. All rights reserved.