Class StatusCallbackListenerImpl
java.lang.Object
org.apache.uima.collection.impl.cpm.StatusCallbackListenerImpl
- All Implemented Interfaces:
BaseStatusCallbackListener,StatusCallbackListener
Callback Listener.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaborted()Called when the CPM is stopped abruptly due to errors.voidCalled when the batchProcessing is completed.voidCalled when the collection processing is completed.voidentityProcessComplete(CAS aCas, EntityProcessStatus aStatus) Called when the processing of a Document is completed.voidCalled when the initialization is completed.voidpaused()Called when the CPM is paused.voidresumed()Called when the CPM is resumed after a pause.
-
Field Details
-
entityCount
int entityCount -
size
long size
-
-
Constructor Details
-
StatusCallbackListenerImpl
StatusCallbackListenerImpl()
-
-
Method Details
-
initializationComplete
public void initializationComplete()Called when the initialization is completed.- Specified by:
initializationCompletein interfaceBaseStatusCallbackListener- See Also:
-
batchProcessComplete
public void batchProcessComplete()Called when the batchProcessing is completed.- Specified by:
batchProcessCompletein interfaceBaseStatusCallbackListener- See Also:
-
collectionProcessComplete
public void collectionProcessComplete()Called when the collection processing is completed.- Specified by:
collectionProcessCompletein interfaceBaseStatusCallbackListener- See Also:
-
paused
public void paused()Called when the CPM is paused.- Specified by:
pausedin interfaceBaseStatusCallbackListener- See Also:
-
resumed
public void resumed()Called when the CPM is resumed after a pause.- Specified by:
resumedin interfaceBaseStatusCallbackListener- See Also:
-
aborted
public void aborted()Called when the CPM is stopped abruptly due to errors.- Specified by:
abortedin interfaceBaseStatusCallbackListener- See Also:
-
entityProcessComplete
Called when the processing of a Document is completed.
The process status can be looked at and corresponding actions taken.- Specified by:
entityProcessCompletein interfaceStatusCallbackListener- Parameters:
aCas- CAS corresponding to the completed processingaStatus- EntityProcessStatus that holds the status of all the events for aEntity
-