Package org.apache.uima.aae.controller
Interface AnalysisEngineController
- All Superinterfaces:
ControllerLifecycle
- All Known Subinterfaces:
AggregateAnalysisEngineController,PrimitiveAnalysisEngineController
- All Known Implementing Classes:
AggregateAnalysisEngineController_impl,AnalysisEngineControllerAdapter,BaseAnalysisEngineController,PrimitiveAnalysisEngineController_impl,UimacppServiceController
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAbortedCasReferenceId(String aCasReferenceId) voidaddInputChannel(InputChannel anInputChannel) voidaddServiceInfo(ServiceInfo aServiceInfo) voidbeginProcess(int msgType) voidcacheClientEndpoint(Endpoint anEndpoint) voidvoidcollectionProcessComplete(Endpoint anEndpoint) voidvoiddropCAS(org.apache.uima.cas.CAS aCAS) voidvoiddumpState(StringBuffer buffer, String lbl1) voidendProcess(int msgType) voidlonggetCasStatistics(String aCasReferenceId) org.apache.uima.UimaContextgetChildUimaContext(String aDelegateEndpointName) longlonglonggetIdleTimeBetweenProcessCalls(int msgType) intgetIndex()getInputChannel(String aQueueName) getKey()getName()getReplyInputChannel(String aDelegateKey) longgetState()getStats()longgetTransport(String aKey) getTransport(UimaAsContext aContext, String aKey) getUimaMessageListener(String aDelegateKey) voidhandleDelegateLifeCycleEvent(String anEndpoint, int aDelegateCount) voidincrementDeserializationTime(long cpuTime) voidincrementSerializationTime(long cpuTime) voidvoidinitializeVMTransport(int parentControllerReplyConsumerCount) booleanbooleanbooleanbooleanReturns true if the AnalysisEngineController has been (or is in the process of) shutdown.booleanvoidvoidvoidvoidprocess(org.apache.uima.cas.CAS aCAS, String anInputCasReferenceId, String aNewCasReferenceId, String newCASProducedBy) voidvoidvoidregisterVmQueueWithJMX(Object o, String aName) voidreleaseNextCas(String aCasReferenceId) voidsaveReplyTime(long snapshot, String aKey) voidvoidsendMetadata(Endpoint anEndpoint) voidsetCasManager(AsynchAECasManager aCasManager) voidsetDeployDescriptor(String aDeployDescriptor) voidsetInputChannel(InputChannel anInputChannel) voidsetOutputChannel(OutputChannel anOutputChannel) voidCalled to set the state of the AnalysisEngineController to STOPPED.voidsetUimaEEAdminContext(UimaEEAdminContext anAdminContext) voidstop()voidtakeAction(String anAction, String anEndpointName, ErrorContext anErrorContext) Methods inherited from interface org.apache.uima.aae.controller.ControllerLifecycle
addControllerCallbackListener, removeControllerCallbackListener, terminate
-
Field Details
-
CasPoolSize
- See Also:
-
AEInstanceCount
- See Also:
-
-
Method Details
-
sendMetadata
- Throws:
AsynchAEException
-
getControllerLatch
ControllerLatch getControllerLatch() -
setInputChannel
- Throws:
Exception
-
addInputChannel
- Throws:
Exception
-
getServiceEndpointName
String getServiceEndpointName() -
handleDelegateLifeCycleEvent
-
takeAction
-
getInputChannel
InputChannel getInputChannel() -
getInputChannel
-
saveReplyTime
-
getReplyTime
long getReplyTime() -
getStats
Map getStats() -
getChildUimaContext
- Throws:
Exception
-
dropCAS
-
dropCAS
void dropCAS(org.apache.uima.cas.CAS aCAS) -
getInProcessCache
InProcessCache getInProcessCache() -
isPrimitive
boolean isPrimitive() -
getMonitor
Monitor getMonitor() -
getName
String getName() -
getComponentName
String getComponentName() -
collectionProcessComplete
- Throws:
AsynchAEException
-
isTopLevelComponent
boolean isTopLevelComponent() -
initialize
- Throws:
AsynchAEException
-
process
-
process
-
process
-
saveTime
-
getTime
-
getErrorHandlerChain
ErrorHandlerChain getErrorHandlerChain() -
setOutputChannel
- Throws:
Exception
-
getOutputChannel
OutputChannel getOutputChannel() -
setCasManager
-
getCasManagerWrapper
AsynchAECasManager getCasManagerWrapper() -
stop
void stop() -
isStopped
boolean isStopped()Returns true if the AnalysisEngineController has been (or is in the process of) shutdown.- Returns:
- - true if stopped
-
setStopped
void setStopped()Called to set the state of the AnalysisEngineController to STOPPED. This method does not stop input or output channels. -
dropStats
-
setUimaEEAdminContext
-
getUimaEEAdminContext
UimaEEAdminContext getUimaEEAdminContext() -
getJMXDomain
String getJMXDomain() -
getIndex
int getIndex() -
getJmxContext
String getJmxContext() -
getServicePerformance
ServicePerformance getServicePerformance() -
getServiceInfo
ServiceInfo getServiceInfo() -
addServiceInfo
-
getServiceErrors
ServiceErrors getServiceErrors() -
setDeployDescriptor
-
cacheClientEndpoint
-
getClientEndpoint
Endpoint getClientEndpoint() -
getEventListener
EventSubscriber getEventListener() -
getManagementInterface
JmxManagement getManagementInterface() -
notifyListenersWithInitializationStatus
-
getCasStatistics
-
isCasMultiplier
boolean isCasMultiplier() -
releaseNextCas
-
getIdleTime
long getIdleTime() -
beginProcess
void beginProcess(int msgType) -
endProcess
void endProcess(int msgType) -
getIdleTimeBetweenProcessCalls
long getIdleTimeBetweenProcessCalls(int msgType) -
getCpuTime
long getCpuTime() -
getAnalysisTime
long getAnalysisTime() -
incrementSerializationTime
void incrementSerializationTime(long cpuTime) -
incrementDeserializationTime
void incrementDeserializationTime(long cpuTime) -
onInitialize
void onInitialize() -
getUimaMessageListener
-
getTransport
- Throws:
Exception
-
getTransport
- Throws:
Exception
-
initializeVMTransport
- Throws:
Exception
-
getReplyInputChannel
-
getLocalCache
LocalCache getLocalCache() -
registerVmQueueWithJMX
- Throws:
Exception
-
getParentController
AnalysisEngineController getParentController() -
addAbortedCasReferenceId
-
isAwaitingCacheCallbackNotification
boolean isAwaitingCacheCallbackNotification() -
quiesceAndStop
void quiesceAndStop() -
forceTimeoutOnPendingCases
-
changeState
-
getState
BaseAnalysisEngineController.ServiceState getState() -
getDeadClientMap
-
getKey
String getKey() -
dumpState
-