public class NoopBatchListener extends Object implements BatchListener
BatchListener that does nothing on the callbacks.| Modifier and Type | Field and Description |
|---|---|
static NoopBatchListener |
INSTANCE
A singleton instance of this class.
|
| Constructor and Description |
|---|
NoopBatchListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
onFailure(BatchEntry[] rowsFailed)
Callback indicating that one or more rows have failed to be persisted.
|
void |
onSuccess(BatchEntry[] rowsSucceeded)
Callback indicating that one or more rows have succeeded to be persisted.
|
public static final NoopBatchListener INSTANCE
public void onFailure(BatchEntry[] rowsFailed)
BatchListeneronFailure in interface BatchListenerrowsFailed - An array of entries with the row or rows that failed to be persisted.public void onSuccess(BatchEntry[] rowsSucceeded)
BatchListeneronSuccess in interface BatchListenerrowsSucceeded - An array of entries with the row or rows that succeeded to be persisted.Copyright © 2023 Feedzai. All rights reserved.