public abstract int recoverInProgress();
None.
An integer that indicates the outcome status of the recovery operation. Compare this integer value with the following outcome-status constants to determine the status:
The recoverInProgressEvents() method checks the event store for any events that currently have the IN_PROGRESS status. An event might remain in the event store with an event status of IN_PROGRESS if the connector was unexpectedly shutdown.
One possible way to implement recoverInProgressEvents() is to base its actions on the InDoubtEvents connector configuration property. If such events exist, the method can take one of the following actions, based on the value of this property:
The recoverInProgressEvents() methods is usually called as part of the connector initialization process, from within the agentInit() method. The agentInit() should check for the status from recoverInProgressEvents() and catch any exceptions as well. The agentInit() method should throw an exception in either of the following cases: