Package org.apache.uima.aae.controller
Interface AggregateAnalysisEngineController
-
- All Superinterfaces:
AnalysisEngineController,ControllerLifecycle
- All Known Implementing Classes:
AggregateAnalysisEngineController_impl
public interface AggregateAnalysisEngineController extends AnalysisEngineController
-
-
Field Summary
-
Fields inherited from interface org.apache.uima.aae.controller.AnalysisEngineController
AEInstanceCount, CasPoolSize
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddMessageOrigin(java.lang.String aCasReferenceId, Endpoint anEndpoint)voidchangeCollocatedDelegateState(java.lang.String delegateKey, BaseAnalysisEngineController.ServiceState state)booleancontinueOnError(java.lang.String aCasReferenceId, java.lang.String aDelegateKey, java.lang.Exception anException)booleandelayCasIfDelegateInTimedOutState(java.lang.String aCasReferenceId, java.lang.String aDelegateKey)voiddisableDelegates(java.util.List aDelegateList)voiddispatchMetadataRequest(Endpoint anEndpoint)voiddropFlow(java.lang.String aCasReferenceId, boolean dropFlow)voidenableDelegates(java.util.List aDelegateList)voidfinalStep(org.apache.uima.flow.FinalStep aStep, java.lang.String aCasReferenceId)java.util.ListgetChildControllerList()org.apache.uima.UimaContextgetChildUimaContext(java.lang.String aDelegateEndpointName)ServiceErrorsgetDelegateServiceErrors(java.lang.String aDelegateKey)PrimitiveServiceInfogetDelegateServiceInfo(java.lang.String aDelegateKey)ServicePerformancegetDelegateServicePerformance(java.lang.String aDelegateKey)java.util.MapgetDelegateStats()java.util.MapgetDestinations()java.lang.StringgetLastDelegateKeyFromFlow(java.lang.String anInputCasReferenceId)EndpointgetMessageOrigin(java.lang.String aCasReferenceId)AggregateServiceInfogetServiceInfo()ServicePerformancegetServicePerformance(java.lang.String aDelegateKey)booleanisDelegateDisabled(java.lang.String aDelegateKey)booleanisDelegateKeyValid(java.lang.String anEndpointName)DelegatelookupDelegate(java.lang.String aDelegateKey)java.lang.StringlookUpDelegateKey(java.lang.String aDelegateEndpointName)java.lang.StringlookUpDelegateKey(java.lang.String aDelegateEndpointName, java.lang.String server)EndpointlookUpEndpoint(java.lang.String anAnalysisEngineKey, boolean clone)voidmapEndpointsToKeys(java.util.concurrent.ConcurrentHashMap aDestinationMap)voidmergeTypeSystem(java.lang.String aTypeSystem, java.lang.String fromDestination)voidmergeTypeSystem(java.lang.String aTypeSystem, java.lang.String fromDestination, java.lang.String fromServer)voidprocessCollectionCompleteReplyFromDelegate(java.lang.String aDelegateKey, boolean sendReply)voidregisterChildController(AnalysisEngineController aChildController, java.lang.String aDelegateKey)voidremoveMessageOrigin(java.lang.String aCasReferenceId)booleanrequestForMetaSentToRemotes()voidretryLastCommand(int aCommand, Endpoint anEndpoint, java.lang.String aCasReferenceId)voidretryMetadataRequest(Endpoint anEndpoint)voidretryProcessCASRequest(java.lang.String aCasReferenceId, Endpoint anEndpoint, boolean addEndpointToCache)voidsaveStatsFromService(java.lang.String aServiceEndpointName, java.util.Map aServiceStats)voidsendRequestForMetadataToRemoteDelegates()voidsetCasLoggingDirectory(java.lang.String key, java.lang.String directoryName)voidsetRequestForMetaSentToRemotes()voidstopCasMultiplier(Delegate casMultiplier, java.lang.String aCasReferenceId)voidstopTimers()-
Methods 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, takeAction
-
Methods inherited from interface org.apache.uima.aae.controller.ControllerLifecycle
addControllerCallbackListener, removeControllerCallbackListener, terminate
-
-
-
-
Method Detail
-
mergeTypeSystem
void mergeTypeSystem(java.lang.String aTypeSystem, java.lang.String fromDestination) throws AsynchAEException- Throws:
AsynchAEException
-
mergeTypeSystem
void mergeTypeSystem(java.lang.String aTypeSystem, java.lang.String fromDestination, java.lang.String fromServer) throws AsynchAEException- Throws:
AsynchAEException
-
sendRequestForMetadataToRemoteDelegates
void sendRequestForMetadataToRemoteDelegates() throws AsynchAEException- Throws:
AsynchAEException
-
addMessageOrigin
void addMessageOrigin(java.lang.String aCasReferenceId, Endpoint anEndpoint)
-
getMessageOrigin
Endpoint getMessageOrigin(java.lang.String aCasReferenceId)
-
removeMessageOrigin
void removeMessageOrigin(java.lang.String aCasReferenceId)
-
processCollectionCompleteReplyFromDelegate
void processCollectionCompleteReplyFromDelegate(java.lang.String aDelegateKey, boolean sendReply) throws AsynchAEException- Throws:
AsynchAEException
-
isDelegateKeyValid
boolean isDelegateKeyValid(java.lang.String anEndpointName)
-
mapEndpointsToKeys
void mapEndpointsToKeys(java.util.concurrent.ConcurrentHashMap aDestinationMap)
-
lookUpEndpoint
Endpoint lookUpEndpoint(java.lang.String anAnalysisEngineKey, boolean clone) throws AsynchAEException
- Throws:
AsynchAEException
-
dispatchMetadataRequest
void dispatchMetadataRequest(Endpoint anEndpoint) throws AsynchAEException
- Throws:
AsynchAEException
-
retryLastCommand
void retryLastCommand(int aCommand, Endpoint anEndpoint, java.lang.String aCasReferenceId)
-
retryMetadataRequest
void retryMetadataRequest(Endpoint anEndpoint) throws AsynchAEException
- Throws:
AsynchAEException
-
lookUpDelegateKey
java.lang.String lookUpDelegateKey(java.lang.String aDelegateEndpointName)
-
lookUpDelegateKey
java.lang.String lookUpDelegateKey(java.lang.String aDelegateEndpointName, java.lang.String server)
-
getChildUimaContext
org.apache.uima.UimaContext getChildUimaContext(java.lang.String aDelegateEndpointName) throws java.lang.Exception- Specified by:
getChildUimaContextin interfaceAnalysisEngineController- Throws:
java.lang.Exception
-
retryProcessCASRequest
void retryProcessCASRequest(java.lang.String aCasReferenceId, Endpoint anEndpoint, boolean addEndpointToCache) throws AsynchAEException- Throws:
AsynchAEException
-
enableDelegates
void enableDelegates(java.util.List aDelegateList) throws AsynchAEException- Throws:
AsynchAEException
-
disableDelegates
void disableDelegates(java.util.List aDelegateList) throws AsynchAEException- Throws:
AsynchAEException
-
continueOnError
boolean continueOnError(java.lang.String aCasReferenceId, java.lang.String aDelegateKey, java.lang.Exception anException) throws AsynchAEException- Throws:
AsynchAEException
-
dropFlow
void dropFlow(java.lang.String aCasReferenceId, boolean dropFlow)
-
isDelegateDisabled
boolean isDelegateDisabled(java.lang.String aDelegateKey)
-
getLastDelegateKeyFromFlow
java.lang.String getLastDelegateKeyFromFlow(java.lang.String anInputCasReferenceId)
-
registerChildController
void registerChildController(AnalysisEngineController aChildController, java.lang.String aDelegateKey) throws java.lang.Exception
- Throws:
java.lang.Exception
-
saveStatsFromService
void saveStatsFromService(java.lang.String aServiceEndpointName, java.util.Map aServiceStats)
-
getDelegateStats
java.util.Map getDelegateStats()
-
getServiceInfo
AggregateServiceInfo getServiceInfo()
- Specified by:
getServiceInfoin interfaceAnalysisEngineController
-
getDelegateServicePerformance
ServicePerformance getDelegateServicePerformance(java.lang.String aDelegateKey)
-
getDelegateServiceInfo
PrimitiveServiceInfo getDelegateServiceInfo(java.lang.String aDelegateKey)
-
getDelegateServiceErrors
ServiceErrors getDelegateServiceErrors(java.lang.String aDelegateKey)
-
stopTimers
void stopTimers()
-
requestForMetaSentToRemotes
boolean requestForMetaSentToRemotes()
-
setRequestForMetaSentToRemotes
void setRequestForMetaSentToRemotes()
-
getDestinations
java.util.Map getDestinations()
-
getServicePerformance
ServicePerformance getServicePerformance(java.lang.String aDelegateKey)
-
finalStep
void finalStep(org.apache.uima.flow.FinalStep aStep, java.lang.String aCasReferenceId)
-
lookupDelegate
Delegate lookupDelegate(java.lang.String aDelegateKey)
-
delayCasIfDelegateInTimedOutState
boolean delayCasIfDelegateInTimedOutState(java.lang.String aCasReferenceId, java.lang.String aDelegateKey) throws AsynchAEException- Throws:
AsynchAEException
-
getChildControllerList
java.util.List getChildControllerList()
-
stopCasMultiplier
void stopCasMultiplier(Delegate casMultiplier, java.lang.String aCasReferenceId)
-
setCasLoggingDirectory
void setCasLoggingDirectory(java.lang.String key, java.lang.String directoryName)
-
changeCollocatedDelegateState
void changeCollocatedDelegateState(java.lang.String delegateKey, BaseAnalysisEngineController.ServiceState state) throws java.lang.Exception- Throws:
java.lang.Exception
-
-