public interface StatusCallback
Modifier and Type | Method and Description |
---|---|
void |
handleStatus(long recordsAdded,
long recordsQueued,
long recordsRejected,
java.lang.String state)
Called by BulkIngester when a status update is received from the server.
|
void handleStatus(long recordsAdded, long recordsQueued, long recordsRejected, java.lang.String state)
recordsAdded
- Set to the number of records successfully ingested by the server.recordsQueued
- Set to the number of records in the server's ingestion queue.recordsRejected
- Set to the number of records rejected by the server.state
- Set to a string describing the current server state.