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 Details

  • Constructor Details

    • ErrorLoggingBulkListener

      protected ErrorLoggingBulkListener()
  • Method Details

    • beforeBulk

      public void beforeBulk(long executionId, co.elastic.clients.elasticsearch.core.BulkRequest request, List<Void> contexts)
      Specified by:
      beforeBulk in interface co.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:
      afterBulk in interface co.elastic.clients.elasticsearch._helpers.bulk.BulkListener<Void>
    • afterBulk

      public void afterBulk(long executionId, co.elastic.clients.elasticsearch.core.BulkRequest request, List<Void> contexts, Throwable failure)
      Specified by:
      afterBulk in interface co.elastic.clients.elasticsearch._helpers.bulk.BulkListener<Void>