Interface AnalysisEngineProcessorStub
-
public interface AnalysisEngineProcessorStubA stub that calls a remote AnalysisEngine service.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default voidbatchProcessComplete()Notify the stub that all items in the batch have been processed.default voidcollectionProcessComplete()Notify the stub that all items in the collection have been processed.default voiddestroy()Called when this stub is no longer needed, so resources can be cleaned up.ResourceMetaDatagetMetaData()Performs service call to retrieve resource meta data.voidprocess(CAS aCAS)Performs service call to process an entity.
-
-
-
Method Detail
-
getMetaData
ResourceMetaData getMetaData()
Performs service call to retrieve resource meta data.- Returns:
- metadata for the Resource
-
process
void process(CAS aCAS) throws AnalysisEngineProcessException
Performs service call to process an entity.- Parameters:
aCAS- the CAS to process- Throws:
AnalysisEngineProcessException
-
batchProcessComplete
default void batchProcessComplete() throws AnalysisEngineProcessExceptionNotify the stub that all items in the batch have been processed.- Throws:
AnalysisEngineProcessException
-
collectionProcessComplete
default void collectionProcessComplete() throws AnalysisEngineProcessExceptionNotify the stub that all items in the collection have been processed.- Throws:
AnalysisEngineProcessException
-
destroy
default void destroy()
Called when this stub is no longer needed, so resources can be cleaned up.
-
-