com.endeca.BulkLoad
Interface AbortCallback
public interface AbortCallback
Interface for handling abort conditions in BulkIngester.
Method Summary |
void |
handleAbort(java.lang.String reason)
Called by BulkIngester if a condition occurs that forces it to
abort. |
handleAbort
void handleAbort(java.lang.String reason)
- Called by BulkIngester if a condition occurs that forces it to
abort. This can happen either in BulkIngester or on the server. If
it happens on the server side,
FinishedCallback
is also
called and the server will not accept further records without begin
being called again. If
it happens in BulkIngester, all subsequent calls that communicate
with the server (sendRecord
etc.)
will throw an IOException.
- Parameters:
reason
- String describing the abort condition.