Class ElasticsearchReindex.ErrorLoggingBulkListener
- java.lang.Object
-
- org.apache.syncope.core.provisioning.java.job.ElasticsearchReindex.ErrorLoggingBulkListener
-
- All Implemented Interfaces:
co.elastic.clients.elasticsearch._helpers.bulk.BulkListener<Void>
- Enclosing class:
- ElasticsearchReindex
protected static class ElasticsearchReindex.ErrorLoggingBulkListener extends Object implements co.elastic.clients.elasticsearch._helpers.bulk.BulkListener<Void>
-
-
Field Summary
Fields Modifier and Type Field Description protected static ElasticsearchReindex.ErrorLoggingBulkListenerINSTANCE
-
Constructor Summary
Constructors Modifier Constructor Description protectedErrorLoggingBulkListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterBulk(long executionId, co.elastic.clients.elasticsearch.core.BulkRequest request, List<Void> contexts, co.elastic.clients.elasticsearch.core.BulkResponse response)voidafterBulk(long executionId, co.elastic.clients.elasticsearch.core.BulkRequest request, List<Void> contexts, Throwable failure)voidbeforeBulk(long executionId, co.elastic.clients.elasticsearch.core.BulkRequest request, List<Void> contexts)
-
-
-
Field Detail
-
INSTANCE
protected static final ElasticsearchReindex.ErrorLoggingBulkListener INSTANCE
-
-
Method Detail
-
beforeBulk
public void beforeBulk(long executionId, co.elastic.clients.elasticsearch.core.BulkRequest request, List<Void> contexts)- Specified by:
beforeBulkin interfaceco.elastic.clients.elasticsearch._helpers.bulk.BulkListener<Void>
-
afterBulk
public void afterBulk(long executionId, co.elastic.clients.elasticsearch.core.BulkRequest request, List<Void> contexts, co.elastic.clients.elasticsearch.core.BulkResponse response)- Specified by:
afterBulkin interfaceco.elastic.clients.elasticsearch._helpers.bulk.BulkListener<Void>
-
-