public class NoopLifecycle extends Object implements BulkLifecycle
| Constructor and Description |
|---|
NoopLifecycle() |
| 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.
|
public void beforeBulk(long executionId,
BulkOperator operator,
BulkOperation bulkOperation)
beforeBulk in interface BulkLifecycleexecutionId - the bulk execution identifier.operator - the BulkOperator carrying out the request.bulkOperation - the BulkOperation being executed.public void afterBulk(long executionId,
BulkOperator operator,
BulkOperation bulkOperation,
org.elasticsearch.client.Response response)
afterBulk in interface BulkLifecycleexecutionId - the bulk execution identifier.operator - the BulkOperator carrying out the request.bulkOperation - the BulkOperation being executed.response - the response returned by the execution.public void afterBulk(long executionId,
BulkOperator operator,
BulkOperation bulkOperation,
Throwable failure)
afterBulk in interface BulkLifecycleexecutionId - 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.