public class LoggingBulkProcessorListener extends Object implements org.elasticsearch.action.bulk.BulkProcessor.Listener
| Constructor and Description |
|---|
LoggingBulkProcessorListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterBulk(long executionId,
org.elasticsearch.action.bulk.BulkRequest request,
org.elasticsearch.action.bulk.BulkResponse response) |
void |
afterBulk(long executionId,
org.elasticsearch.action.bulk.BulkRequest request,
Throwable failure) |
void |
beforeBulk(long executionId,
org.elasticsearch.action.bulk.BulkRequest request) |
public void beforeBulk(long executionId,
org.elasticsearch.action.bulk.BulkRequest request)
beforeBulk in interface org.elasticsearch.action.bulk.BulkProcessor.Listenerpublic void afterBulk(long executionId,
org.elasticsearch.action.bulk.BulkRequest request,
org.elasticsearch.action.bulk.BulkResponse response)
afterBulk in interface org.elasticsearch.action.bulk.BulkProcessor.Listenerpublic void afterBulk(long executionId,
org.elasticsearch.action.bulk.BulkRequest request,
Throwable failure)
afterBulk in interface org.elasticsearch.action.bulk.BulkProcessor.ListenerCopyright © 2019. All rights reserved.