Package org.apache.uima.aae.controller
Interface AggregateAnalysisEngineController
- All Superinterfaces:
AnalysisEngineController,ControllerLifecycle
- All Known Implementing Classes:
AggregateAnalysisEngineController_impl
-
Field Summary
Fields inherited from interface org.apache.uima.aae.controller.AnalysisEngineController
AEInstanceCount, CasPoolSize -
Method Summary
Modifier and TypeMethodDescriptionvoidaddMessageOrigin(String aCasReferenceId, Endpoint anEndpoint) voidchangeCollocatedDelegateState(String delegateKey, BaseAnalysisEngineController.ServiceState state) booleancontinueOnError(String aCasReferenceId, String aDelegateKey, Exception anException) booleandelayCasIfDelegateInTimedOutState(String aCasReferenceId, String aDelegateKey) voiddisableDelegates(List aDelegateList) voiddispatchMetadataRequest(Endpoint anEndpoint) voidvoidenableDelegates(List aDelegateList) voidorg.apache.uima.UimaContextgetChildUimaContext(String aDelegateEndpointName) getDelegateServiceErrors(String aDelegateKey) getDelegateServiceInfo(String aDelegateKey) getDelegateServicePerformance(String aDelegateKey) getLastDelegateKeyFromFlow(String anInputCasReferenceId) getMessageOrigin(String aCasReferenceId) getServicePerformance(String aDelegateKey) booleanisDelegateDisabled(String aDelegateKey) booleanisDelegateKeyValid(String anEndpointName) lookupDelegate(String aDelegateKey) lookUpDelegateKey(String aDelegateEndpointName) lookUpDelegateKey(String aDelegateEndpointName, String server) lookUpEndpoint(String anAnalysisEngineKey, boolean clone) voidmapEndpointsToKeys(ConcurrentHashMap aDestinationMap) voidmergeTypeSystem(String aTypeSystem, String fromDestination) voidmergeTypeSystem(String aTypeSystem, String fromDestination, String fromServer) voidprocessCollectionCompleteReplyFromDelegate(String aDelegateKey, boolean sendReply) voidregisterChildController(AnalysisEngineController aChildController, String aDelegateKey) voidremoveMessageOrigin(String aCasReferenceId) booleanvoidretryLastCommand(int aCommand, Endpoint anEndpoint, String aCasReferenceId) voidretryMetadataRequest(Endpoint anEndpoint) voidretryProcessCASRequest(String aCasReferenceId, Endpoint anEndpoint, boolean addEndpointToCache) voidsaveStatsFromService(String aServiceEndpointName, Map aServiceStats) voidvoidsetCasLoggingDirectory(String key, String directoryName) voidvoidstopCasMultiplier(Delegate casMultiplier, String aCasReferenceId) voidMethods inherited from interface org.apache.uima.aae.controller.AnalysisEngineController
addAbortedCasReferenceId, addInputChannel, addServiceInfo, beginProcess, cacheClientEndpoint, changeState, collectionProcessComplete, dropCAS, dropCAS, dropStats, dumpState, endProcess, forceTimeoutOnPendingCases, getAnalysisTime, getCasManagerWrapper, getCasStatistics, getClientEndpoint, getComponentName, getControllerLatch, getCpuTime, getDeadClientMap, getErrorHandlerChain, getEventListener, getIdleTime, getIdleTimeBetweenProcessCalls, getIndex, getInProcessCache, getInputChannel, getInputChannel, getJmxContext, getJMXDomain, getKey, getLocalCache, getManagementInterface, getMonitor, getName, getOutputChannel, getParentController, getReplyInputChannel, getReplyTime, getServiceEndpointName, getServiceErrors, getServicePerformance, getState, getStats, getTime, getTransport, getTransport, getUimaEEAdminContext, getUimaMessageListener, handleDelegateLifeCycleEvent, incrementDeserializationTime, incrementSerializationTime, initialize, initializeVMTransport, isAwaitingCacheCallbackNotification, isCasMultiplier, isPrimitive, isStopped, isTopLevelComponent, notifyListenersWithInitializationStatus, onInitialize, process, process, process, quiesceAndStop, registerVmQueueWithJMX, releaseNextCas, saveReplyTime, saveTime, sendMetadata, setCasManager, setDeployDescriptor, setInputChannel, setOutputChannel, setStopped, setUimaEEAdminContext, stop, takeActionMethods inherited from interface org.apache.uima.aae.controller.ControllerLifecycle
addControllerCallbackListener, removeControllerCallbackListener, terminate
-
Method Details
-
mergeTypeSystem
- Throws:
AsynchAEException
-
mergeTypeSystem
void mergeTypeSystem(String aTypeSystem, String fromDestination, String fromServer) throws AsynchAEException - Throws:
AsynchAEException
-
sendRequestForMetadataToRemoteDelegates
- Throws:
AsynchAEException
-
addMessageOrigin
-
getMessageOrigin
-
removeMessageOrigin
-
processCollectionCompleteReplyFromDelegate
void processCollectionCompleteReplyFromDelegate(String aDelegateKey, boolean sendReply) throws AsynchAEException - Throws:
AsynchAEException
-
isDelegateKeyValid
-
mapEndpointsToKeys
-
lookUpEndpoint
- Throws:
AsynchAEException
-
dispatchMetadataRequest
- Throws:
AsynchAEException
-
retryLastCommand
-
retryMetadataRequest
- Throws:
AsynchAEException
-
lookUpDelegateKey
-
lookUpDelegateKey
-
getChildUimaContext
- Specified by:
getChildUimaContextin interfaceAnalysisEngineController- Throws:
Exception
-
retryProcessCASRequest
void retryProcessCASRequest(String aCasReferenceId, Endpoint anEndpoint, boolean addEndpointToCache) throws AsynchAEException - Throws:
AsynchAEException
-
enableDelegates
- Throws:
AsynchAEException
-
disableDelegates
- Throws:
AsynchAEException
-
continueOnError
boolean continueOnError(String aCasReferenceId, String aDelegateKey, Exception anException) throws AsynchAEException - Throws:
AsynchAEException
-
dropFlow
-
isDelegateDisabled
-
getLastDelegateKeyFromFlow
-
registerChildController
void registerChildController(AnalysisEngineController aChildController, String aDelegateKey) throws Exception - Throws:
Exception
-
saveStatsFromService
-
getDelegateStats
Map getDelegateStats() -
getServiceInfo
AggregateServiceInfo getServiceInfo()- Specified by:
getServiceInfoin interfaceAnalysisEngineController
-
getDelegateServicePerformance
-
getDelegateServiceInfo
-
getDelegateServiceErrors
-
stopTimers
void stopTimers() -
requestForMetaSentToRemotes
boolean requestForMetaSentToRemotes() -
setRequestForMetaSentToRemotes
void setRequestForMetaSentToRemotes() -
getDestinations
Map getDestinations() -
getServicePerformance
-
finalStep
-
lookupDelegate
-
delayCasIfDelegateInTimedOutState
boolean delayCasIfDelegateInTimedOutState(String aCasReferenceId, String aDelegateKey) throws AsynchAEException - Throws:
AsynchAEException
-
getChildControllerList
List getChildControllerList() -
stopCasMultiplier
-
setCasLoggingDirectory
-
changeCollocatedDelegateState
void changeCollocatedDelegateState(String delegateKey, BaseAnalysisEngineController.ServiceState state) throws Exception - Throws:
Exception
-