public class NoopBackendRequestSuccessHandler extends Object implements BackendRequestSuccessReporter<io.searchbox.client.JestResult>
Modifier and Type | Field and Description |
---|---|
static NoopBackendRequestSuccessHandler |
INSTANCE |
Modifier and Type | Method and Description |
---|---|
void |
report(io.searchbox.core.BulkResult.BulkResultItem bulkResultItem,
IndexingMonitor monitor)
Reports the given summary result to the given monitor.
|
void |
report(io.searchbox.client.JestResult result,
IndexingMonitor monitor)
Reports the given detailed result to the given monitor.
|
public static final NoopBackendRequestSuccessHandler INSTANCE
public void report(io.searchbox.client.JestResult result, IndexingMonitor monitor)
BackendRequestSuccessReporter
report
in interface BackendRequestSuccessReporter<io.searchbox.client.JestResult>
result
- The detailed result.monitor
- The monitor to report results to.public void report(io.searchbox.core.BulkResult.BulkResultItem bulkResultItem, IndexingMonitor monitor)
BackendRequestSuccessReporter
report
in interface BackendRequestSuccessReporter<io.searchbox.client.JestResult>
bulkResultItem
- The summary result.monitor
- The monitor to report results to.Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved