Interface AnalysisEngineProcessorStub
public interface AnalysisEngineProcessorStub
A stub that calls a remote AnalysisEngine service.
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
Notify the stub that all items in the batch have been processed.default void
Notify the stub that all items in the collection have been processed.default void
destroy()
Called when this stub is no longer needed, so resources can be cleaned up.Performs service call to retrieve resource meta data.void
Performs service call to process an entity.
-
Method Details
-
getMetaData
ResourceMetaData getMetaData()Performs service call to retrieve resource meta data.- Returns:
- metadata for the Resource
-
process
Performs service call to process an entity.- Parameters:
aCAS
- the CAS to process- Throws:
AnalysisEngineProcessException
-
batchProcessComplete
Notify the stub that all items in the batch have been processed.- Throws:
AnalysisEngineProcessException
-
collectionProcessComplete
Notify 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.
-