com.endeca.BulkLoad
Interface StatusCallback


public interface StatusCallback

Interface for handling status updates in BulkIngester.


Method Summary
 void handleStatus(long recordsAdded, long recordsQueued, long recordsRejected, java.lang.String state)
          Called by BulkIngester when a status update is received from the server.
 

Method Detail

handleStatus

void handleStatus(long recordsAdded,
                  long recordsQueued,
                  long recordsRejected,
                  java.lang.String state)
Called by BulkIngester when a status update is received from the server.

Parameters:
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.