Package org.apache.uima.aae.controller
Class AggregateAnalysisEngineController_impl
- java.lang.Object
-
- org.apache.uima.resource.Resource_ImplBase
-
- org.apache.uima.aae.controller.BaseAnalysisEngineController
-
- org.apache.uima.aae.controller.AggregateAnalysisEngineController_impl
-
- All Implemented Interfaces:
java.io.Serializable,AggregateAnalysisEngineController,AggregateAnalysisEngineController_implMBean,AnalysisEngineController,BaseAnalysisEngineControllerMBean,ControllerLifecycle,EventSubscriber,org.apache.uima.resource.Resource
public class AggregateAnalysisEngineController_impl extends BaseAnalysisEngineController implements AggregateAnalysisEngineController, AggregateAnalysisEngineController_implMBean
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.uima.aae.controller.BaseAnalysisEngineController
BaseAnalysisEngineController.ServiceState
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<AnalysisEngineController>childControllerListprotected booleaninitializedjava.lang.ObjectparallelStepMux-
Fields inherited from class org.apache.uima.aae.controller.BaseAnalysisEngineController
abortedCasesMap, aeDescriptor, allDelegatesAreRemote, awaitingCacheCallbackNotification, callbackMonitor, callbackReceived, clientEndpoint, cmOutstandingCASes, componentCasPoolSize, controllerListeners, currentState, deadClientDestinationMap, delegateKey, delegates, errorCount, errorHandlerChain, finalStepMux, idleTime, inputChannel, inputChannelList, inputChannelMap, jmxContext, latch, localCache, messageListeners, monitor, NO_RECOVERY, paramsMap, parentController, perCasStatistics, processPid, replyTime, resourceSpecifier, serviceErrorMap, serviceErrors, serviceInitialized, servicePerformance, statsMap, stopped, syncObject, transports, unregisteredDelegateList
-
Fields inherited from interface org.apache.uima.aae.controller.AnalysisEngineController
AEInstanceCount, CasPoolSize
-
-
Constructor Summary
Constructors Constructor Description AggregateAnalysisEngineController_impl(java.lang.String anEndpointName, java.lang.String aDescriptor, AsynchAECasManager aCasManager, InProcessCache anInProcessCache, java.util.Map aDestinationMap)AggregateAnalysisEngineController_impl(AnalysisEngineController aParentController, java.lang.String anEndpointName, java.lang.String aDescriptor, AsynchAECasManager aCasManager, InProcessCache anInProcessCache, java.util.Map aDestinationMap)AggregateAnalysisEngineController_impl(AnalysisEngineController aParentController, java.lang.String anEndpointName, java.lang.String aDescriptor, AsynchAECasManager aCasManager, InProcessCache anInProcessCache, java.util.Map aDestinationMap, JmxManagement aJmxManagement)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddMessageOrigin(java.lang.String aCasReferenceId, Endpoint anEndpoint)voidchangeCollocatedDelegateState(java.lang.String delegateKey, BaseAnalysisEngineController.ServiceState state)voidcleanUp()voidcollectionProcessComplete(Endpoint anEndpoint)booleancontinueOnError(java.lang.String aCasReferenceId, java.lang.String aDelegateKey, java.lang.Exception anException)booleandelayCasIfDelegateInTimedOutState(java.lang.String aCasReferenceId, java.lang.String aDelegateKey)Checks the state of a delegate to see if it is in TIMEOUT State.voiddisableDelegates(java.util.List aDelegateList)protected voiddisableDelegates(java.util.List aDelegateList, java.lang.String aCasReferenceId)voiddispatchMetadataRequest(Endpoint anEndpoint)voiddropCAS(java.lang.String aCasReferenceId, boolean dropCacheEntry)voiddropFlow(java.lang.String aCasReferenceId, boolean abortFlow)voiddumpState(java.lang.StringBuffer buffer, java.lang.String lbl1)voidenableDelegates(java.util.List aDelegateList)voidfinalStep(org.apache.uima.flow.FinalStep aStep, java.lang.String aCasReferenceId)java.util.ListgetChildControllerList()ControllerLatchgetControllerLatch()ServiceErrorsgetDelegateServiceErrors(java.lang.String aDelegateKey)PrimitiveServiceInfogetDelegateServiceInfo(java.lang.String aDelegateKey)ServicePerformancegetDelegateServicePerformance(java.lang.String aDelegateKey)java.util.MapgetDelegateStats()java.lang.StringgetDescriptor()java.util.MapgetDestinations()java.lang.StringgetLastDelegateKeyFromFlow(java.lang.String anInputCasReferenceId)LocalCachegetLocalCache()EndpointgetMessageOrigin(java.lang.String aCasReferenceId)MonitorgetMonitor()java.lang.StringgetServiceEndpointName()ServiceErrorsgetServiceErrors(java.lang.String aDelegateKey)AggregateServiceInfogetServiceInfo()ServicePerformancegetServicePerformance(java.lang.String aDelegateKey)voidhandleDelegateLifeCycleEvent(java.lang.String anEndpoint, int aDelegateCount)voidhandleInitializationError(java.lang.Exception ex)voidincrementAnalysisTime(long anAnalysisTime)Accumulate analysis time for the aggregatevoidinitialize()booleanisDelegateDisabled(java.lang.String aDelegateKey)booleanisDelegateKeyValid(java.lang.String aDelegateKey)booleanisPrimitive()DelegatelookupDelegate(java.lang.String aDelegateKey)ReturnDelegateobject for a given delegate key.java.lang.StringlookUpDelegateKey(java.lang.String anEndpointName)java.lang.StringlookUpDelegateKey(java.lang.String anEndpointName, java.lang.String server)Returns a delegate key given an endpoint (queue) name and a server uri.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)voidonInitialize()Force all collocated delegates to perform any post-initialization steps.voidprocess(org.apache.uima.cas.CAS aCAS, java.lang.String aCasReferenceId)This is a process method that is executed for CASes not created by a Multiplier in this aggregate.voidprocess(org.apache.uima.cas.CAS aCAS, java.lang.String anInputCasReferenceId, java.lang.String aNewCasReferenceId, java.lang.String newCASProducedBy)This routine is called to handle CASes produced by a CAS Multiplier.voidprocessCollectionCompleteReplyFromDelegate(java.lang.String aDelegateKey, boolean sendReply)voidregisterChildController(AnalysisEngineController aChildController, java.lang.String aDelegateKey)booleanreleaseParentCas(boolean casDropped, boolean clientIsCollocated, LocalCache.CasStateEntry parentCasStateEntry)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)voidsendMetadata(Endpoint anEndpoint)voidsendRequestForMetadataToRemoteDelegates()voidsetCasLoggingDirectory(java.lang.String key, java.lang.String directory)voidsetControllerBeanName(java.lang.String aBeanName)voidsetDescriptor(java.lang.String descriptor)voidsetFlowControllerDescriptor(java.lang.String aFlowControllerDescriptor)voidsetMonitor(Monitor monitor)voidsetRequestForMetaSentToRemotes()voidsetServiceEndpointName(java.lang.String anEndpointName)voidstop()Stops input channel(s) and initiates a shutdown of all delegates ( if this is an aggregate ).voidstopTimers()voidtakeAction(java.lang.String anAction, java.lang.String anEndpointName, ErrorContext anErrorContext)-
Methods inherited from class org.apache.uima.aae.controller.BaseAnalysisEngineController
abortGeneratingCASes, addAbortedCasReferenceId, addControllerCallbackListener, addInputChannel, addServiceInfo, beginProcess, cacheClientEndpoint, changeState, clearStats, dropCAS, dropCasStatistics, dropStats, endProcess, exceedsThresholdWithinWindow, forceTimeoutOnPendingCases, getAnalysisTime, getBrokerURL, getCasManagerWrapper, getCasMultiplierController, getCasStatistics, getChildUimaContext, getClientEndpoint, getComponentName, getCpuTime, getDeadClientMap, getDeploymentDescriptor, getDeploymentMode, getErrorHandlerChain, getEventListener, getIdleTime, getIdleTimeBetweenProcessCalls, getIndex, getInProcessCache, getInputChannel, getInputChannel, getInputQueue, getJmxContext, getJMXDomain, getKey, getManagementInterface, getName, getOutputChannel, getParentController, getReplyInputChannel, getReplyTime, getResourceSpecifier, getServiceErrors, getServiceName, getServicePerformance, getState, getStats, getTime, getTotalNumberOfCASesDropped, getTotalNumberOfCASesProcessed, getTotalNumberOfCASesReceived, getTotalNumberOfErrors, getTotalTimeSpendDeSerializingCAS, getTotalTimeSpentSerializingCAS, getTotalTimeSpentWaitingForFreeCASInstance, getTransport, getTransport, getTransport, getUimaEEAdminContext, getUimaMessageListener, handleAction, handleError, incrementDeserializationTime, incrementErrorCounter, incrementSerializationTime, initializeVMTransport, isAwaitingCacheCallbackNotification, isCasMultiplier, isStopped, isTopLevelComponent, logStats, logStats, notifyListenersWithInitializationStatus, onCacheEmpty, plugInDefaultErrorHandlerChain, process, quiesceAndStop, registerServiceWithJMX, registerVmQueueWithJMX, registerWithAgent, releaseNextCas, removeControllerCallbackListener, resetErrorCounter, saveReplyTime, saveTime, sendMetadata, setCasManager, setDeployDescriptor, setErrorHandlerChain, setInputChannel, setJmxManagement, setOutputChannel, setStopped, setUimaEEAdminContext, stop, stopCasMultiplier, stopCasMultipliers, stopDelegateTimers, stopInputChannel, stopInputChannels, stopTransportLayer, terminate, terminate, toString
-
Methods inherited from class org.apache.uima.resource.Resource_ImplBase
destroy, getCasManager, getLogger, getMetaData, getRelativePathResolver, getResourceManager, getUimaContext, getUimaContextAdmin, initialize, setLogger, setMetaData
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.uima.aae.controller.AggregateAnalysisEngineController
getChildUimaContext, stopCasMultiplier
-
Methods inherited from interface org.apache.uima.aae.controller.AnalysisEngineController
addAbortedCasReferenceId, addInputChannel, addServiceInfo, beginProcess, cacheClientEndpoint, changeState, dropCAS, dropStats, endProcess, forceTimeoutOnPendingCases, getAnalysisTime, getCasManagerWrapper, getCasStatistics, getClientEndpoint, getComponentName, getCpuTime, getDeadClientMap, getErrorHandlerChain, getEventListener, getIdleTime, getIdleTimeBetweenProcessCalls, getIndex, getInProcessCache, getInputChannel, getInputChannel, getJmxContext, getJMXDomain, getKey, getManagementInterface, getName, getOutputChannel, getParentController, getReplyInputChannel, getReplyTime, getServiceErrors, getServicePerformance, getState, getStats, getTime, getTransport, getTransport, getUimaEEAdminContext, getUimaMessageListener, incrementDeserializationTime, incrementSerializationTime, initializeVMTransport, isAwaitingCacheCallbackNotification, isCasMultiplier, isStopped, isTopLevelComponent, notifyListenersWithInitializationStatus, process, quiesceAndStop, registerVmQueueWithJMX, releaseNextCas, saveReplyTime, saveTime, setCasManager, setDeployDescriptor, setInputChannel, setOutputChannel, setStopped, setUimaEEAdminContext
-
Methods inherited from interface org.apache.uima.aae.controller.BaseAnalysisEngineControllerMBean
getBrokerURL, getComponentName, getDeploymentDescriptor, getDeploymentMode, getIdleTime, getInputQueue, getServiceName, getTotalNumberOfCASesDropped, getTotalNumberOfCASesProcessed, getTotalNumberOfCASesReceived, getTotalNumberOfErrors, getTotalTimeSpendDeSerializingCAS, getTotalTimeSpentSerializingCAS, getTotalTimeSpentWaitingForFreeCASInstance
-
Methods inherited from interface org.apache.uima.aae.controller.ControllerLifecycle
addControllerCallbackListener, removeControllerCallbackListener, terminate
-
-
-
-
Field Detail
-
initialized
protected volatile boolean initialized
-
childControllerList
protected java.util.List<AnalysisEngineController> childControllerList
-
parallelStepMux
public final java.lang.Object parallelStepMux
-
-
Constructor Detail
-
AggregateAnalysisEngineController_impl
public AggregateAnalysisEngineController_impl(java.lang.String anEndpointName, java.lang.String aDescriptor, AsynchAECasManager aCasManager, InProcessCache anInProcessCache, java.util.Map aDestinationMap) throws java.lang.Exception- Parameters:
anEndpointName-aDescriptor-aCasManager-anInProcessCache-aDestinationMap-- Throws:
java.lang.Exception
-
AggregateAnalysisEngineController_impl
public AggregateAnalysisEngineController_impl(AnalysisEngineController aParentController, java.lang.String anEndpointName, java.lang.String aDescriptor, AsynchAECasManager aCasManager, InProcessCache anInProcessCache, java.util.Map aDestinationMap) throws java.lang.Exception
- Parameters:
aParentController-anEndpointName-aDescriptor-aCasManager-anInProcessCache-aDestinationMap-- Throws:
java.lang.Exception
-
AggregateAnalysisEngineController_impl
public AggregateAnalysisEngineController_impl(AnalysisEngineController aParentController, java.lang.String anEndpointName, java.lang.String aDescriptor, AsynchAECasManager aCasManager, InProcessCache anInProcessCache, java.util.Map aDestinationMap, JmxManagement aJmxManagement) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-
Method Detail
-
registerChildController
public void registerChildController(AnalysisEngineController aChildController, java.lang.String aDelegateKey) throws java.lang.Exception
- Specified by:
registerChildControllerin interfaceAggregateAnalysisEngineController- Throws:
java.lang.Exception
-
saveStatsFromService
public void saveStatsFromService(java.lang.String aServiceEndpointName, java.util.Map aServiceStats)- Specified by:
saveStatsFromServicein interfaceAggregateAnalysisEngineController
-
addMessageOrigin
public void addMessageOrigin(java.lang.String aCasReferenceId, Endpoint anEndpoint)- Specified by:
addMessageOriginin interfaceAggregateAnalysisEngineController
-
isDelegateDisabled
public boolean isDelegateDisabled(java.lang.String aDelegateKey)
- Specified by:
isDelegateDisabledin interfaceAggregateAnalysisEngineController
-
setServiceEndpointName
public void setServiceEndpointName(java.lang.String anEndpointName)
- Parameters:
anEndpointName-
-
getServiceEndpointName
public java.lang.String getServiceEndpointName()
- Specified by:
getServiceEndpointNamein interfaceAnalysisEngineController
-
setControllerBeanName
public void setControllerBeanName(java.lang.String aBeanName)
- Parameters:
aBeanName-
-
getMessageOrigin
public Endpoint getMessageOrigin(java.lang.String aCasReferenceId)
- Specified by:
getMessageOriginin interfaceAggregateAnalysisEngineController
-
removeMessageOrigin
public void removeMessageOrigin(java.lang.String aCasReferenceId)
- Specified by:
removeMessageOriginin interfaceAggregateAnalysisEngineController
-
dropCAS
public void dropCAS(java.lang.String aCasReferenceId, boolean dropCacheEntry)- Specified by:
dropCASin interfaceAnalysisEngineController- Overrides:
dropCASin classBaseAnalysisEngineController
-
dropFlow
public void dropFlow(java.lang.String aCasReferenceId, boolean abortFlow)- Specified by:
dropFlowin interfaceAggregateAnalysisEngineController
-
mapEndpointsToKeys
public void mapEndpointsToKeys(java.util.concurrent.ConcurrentHashMap aDestinationMap)
- Specified by:
mapEndpointsToKeysin interfaceAggregateAnalysisEngineController
-
getDelegateStats
public java.util.Map getDelegateStats()
- Specified by:
getDelegateStatsin interfaceAggregateAnalysisEngineController
-
processCollectionCompleteReplyFromDelegate
public void processCollectionCompleteReplyFromDelegate(java.lang.String aDelegateKey, boolean sendReply) throws AsynchAEException- Specified by:
processCollectionCompleteReplyFromDelegatein interfaceAggregateAnalysisEngineController- Throws:
AsynchAEException
-
setFlowControllerDescriptor
public void setFlowControllerDescriptor(java.lang.String aFlowControllerDescriptor)
- Parameters:
aFlowControllerDescriptor-
-
takeAction
public void takeAction(java.lang.String anAction, java.lang.String anEndpointName, ErrorContext anErrorContext)- Specified by:
takeActionin interfaceAnalysisEngineController
-
collectionProcessComplete
public void collectionProcessComplete(Endpoint anEndpoint) throws AsynchAEException
- Specified by:
collectionProcessCompletein interfaceAnalysisEngineController- Throws:
AsynchAEException
-
getDescriptor
public java.lang.String getDescriptor()
-
setDescriptor
public void setDescriptor(java.lang.String descriptor)
-
isPrimitive
public boolean isPrimitive()
- Specified by:
isPrimitivein interfaceAnalysisEngineController
-
getDestinations
public java.util.Map getDestinations()
- Specified by:
getDestinationsin interfaceAggregateAnalysisEngineController
-
enableDelegates
public void enableDelegates(java.util.List aDelegateList) throws AsynchAEException- Specified by:
enableDelegatesin interfaceAggregateAnalysisEngineController- Throws:
AsynchAEException
-
handleInitializationError
public void handleInitializationError(java.lang.Exception ex)
-
disableDelegates
public void disableDelegates(java.util.List aDelegateList) throws AsynchAEException- Specified by:
disableDelegatesin interfaceAggregateAnalysisEngineController- Throws:
AsynchAEException
-
disableDelegates
protected void disableDelegates(java.util.List aDelegateList, java.lang.String aCasReferenceId) throws AsynchAEException- Throws:
AsynchAEException
-
continueOnError
public boolean continueOnError(java.lang.String aCasReferenceId, java.lang.String aDelegateKey, java.lang.Exception anException) throws AsynchAEException- Specified by:
continueOnErrorin interfaceAggregateAnalysisEngineController- Throws:
AsynchAEException
-
getLastDelegateKeyFromFlow
public java.lang.String getLastDelegateKeyFromFlow(java.lang.String anInputCasReferenceId)
- Specified by:
getLastDelegateKeyFromFlowin interfaceAggregateAnalysisEngineController
-
process
public void process(org.apache.uima.cas.CAS aCAS, java.lang.String anInputCasReferenceId, java.lang.String aNewCasReferenceId, java.lang.String newCASProducedBy)This routine is called to handle CASes produced by a CAS Multiplier. A new CAS needs a flow object which is produced here from the Flow associated with the input CAS. Once the subflow is computed, it is cached for future use.- Specified by:
processin interfaceAnalysisEngineController- Overrides:
processin classBaseAnalysisEngineController- Parameters:
aCAS- - CAS to processanInputCasReferenceId- - reference id of the input CASaNewCasReferenceId- - reference id of the CAS created by the CAS multipliernewCASProducedBy- - name of the multiplier that created the CAS- Throws:
org.apache.uima.analysis_engine.AnalysisEngineProcessExceptionAsynchAEException
-
process
public void process(org.apache.uima.cas.CAS aCAS, java.lang.String aCasReferenceId)This is a process method that is executed for CASes not created by a Multiplier in this aggregate.- Specified by:
processin interfaceAnalysisEngineController- Overrides:
processin classBaseAnalysisEngineController
-
sendRequestForMetadataToRemoteDelegates
public void sendRequestForMetadataToRemoteDelegates() throws AsynchAEException- Specified by:
sendRequestForMetadataToRemoteDelegatesin interfaceAggregateAnalysisEngineController- Throws:
AsynchAEException
-
finalStep
public void finalStep(org.apache.uima.flow.FinalStep aStep, java.lang.String aCasReferenceId)- Specified by:
finalStepin interfaceAggregateAnalysisEngineController
-
releaseParentCas
public boolean releaseParentCas(boolean casDropped, boolean clientIsCollocated, LocalCache.CasStateEntry parentCasStateEntry)
-
delayCasIfDelegateInTimedOutState
public boolean delayCasIfDelegateInTimedOutState(java.lang.String aCasReferenceId, java.lang.String aDelegateKey) throws AsynchAEExceptionChecks the state of a delegate to see if it is in TIMEOUT State. If it is, push the CAS id onto a list of CASes pending dispatch. The delegate is in a questionable state and the aggregate sends a ping message to check delegate's availability. If the delegate responds to the ping, all CASes in the pending dispatch list will be immediately dispatched.- Specified by:
delayCasIfDelegateInTimedOutStatein interfaceAggregateAnalysisEngineController- Throws:
AsynchAEException
-
retryProcessCASRequest
public void retryProcessCASRequest(java.lang.String aCasReferenceId, Endpoint anEndpoint, boolean addEndpointToCache) throws AsynchAEException- Specified by:
retryProcessCASRequestin interfaceAggregateAnalysisEngineController- Throws:
AsynchAEException
-
isDelegateKeyValid
public boolean isDelegateKeyValid(java.lang.String aDelegateKey)
- Specified by:
isDelegateKeyValidin interfaceAggregateAnalysisEngineController
-
lookUpDelegateKey
public java.lang.String lookUpDelegateKey(java.lang.String anEndpointName)
- Specified by:
lookUpDelegateKeyin interfaceAggregateAnalysisEngineController
-
lookUpDelegateKey
public java.lang.String lookUpDelegateKey(java.lang.String anEndpointName, java.lang.String server)Returns a delegate key given an endpoint (queue) name and a server uri. If a server is null, only the endpoint name will be used for matching.- Specified by:
lookUpDelegateKeyin interfaceAggregateAnalysisEngineController
-
lookUpEndpoint
public Endpoint lookUpEndpoint(java.lang.String anAnalysisEngineKey, boolean clone) throws AsynchAEException
- Specified by:
lookUpEndpointin interfaceAggregateAnalysisEngineController- Throws:
AsynchAEException
-
getDelegateServiceInfo
public PrimitiveServiceInfo getDelegateServiceInfo(java.lang.String aDelegateKey)
- Specified by:
getDelegateServiceInfoin interfaceAggregateAnalysisEngineController
-
getDelegateServicePerformance
public ServicePerformance getDelegateServicePerformance(java.lang.String aDelegateKey)
- Specified by:
getDelegateServicePerformancein interfaceAggregateAnalysisEngineController
-
getDelegateServiceErrors
public ServiceErrors getDelegateServiceErrors(java.lang.String aDelegateKey)
- Specified by:
getDelegateServiceErrorsin interfaceAggregateAnalysisEngineController
-
mergeTypeSystem
public void mergeTypeSystem(java.lang.String aTypeSystem, java.lang.String fromDestination) throws AsynchAEException- Specified by:
mergeTypeSystemin interfaceAggregateAnalysisEngineController- Throws:
AsynchAEException
-
mergeTypeSystem
public void mergeTypeSystem(java.lang.String aTypeSystem, java.lang.String fromDestination, java.lang.String fromServer) throws AsynchAEException- Specified by:
mergeTypeSystemin interfaceAggregateAnalysisEngineController- Throws:
AsynchAEException
-
initialize
public void initialize() throws AsynchAEException- Specified by:
initializein interfaceAnalysisEngineController- Throws:
AsynchAEException
-
dispatchMetadataRequest
public void dispatchMetadataRequest(Endpoint anEndpoint) throws AsynchAEException
- Specified by:
dispatchMetadataRequestin interfaceAggregateAnalysisEngineController- Throws:
AsynchAEException
-
retryMetadataRequest
public void retryMetadataRequest(Endpoint anEndpoint) throws AsynchAEException
- Specified by:
retryMetadataRequestin interfaceAggregateAnalysisEngineController- Throws:
AsynchAEException
-
sendMetadata
public void sendMetadata(Endpoint anEndpoint)
- Specified by:
sendMetadatain interfaceAnalysisEngineController
-
getControllerLatch
public ControllerLatch getControllerLatch()
- Specified by:
getControllerLatchin interfaceAnalysisEngineController
-
getMonitor
public Monitor getMonitor()
- Specified by:
getMonitorin interfaceAnalysisEngineController
-
setMonitor
public void setMonitor(Monitor monitor)
-
handleDelegateLifeCycleEvent
public void handleDelegateLifeCycleEvent(java.lang.String anEndpoint, int aDelegateCount)- Specified by:
handleDelegateLifeCycleEventin interfaceAnalysisEngineController
-
retryLastCommand
public void retryLastCommand(int aCommand, Endpoint anEndpoint, java.lang.String aCasReferenceId)- Specified by:
retryLastCommandin interfaceAggregateAnalysisEngineController
-
getServiceErrors
public ServiceErrors getServiceErrors(java.lang.String aDelegateKey)
-
getServiceInfo
public AggregateServiceInfo getServiceInfo()
- Specified by:
getServiceInfoin interfaceAggregateAnalysisEngineController- Specified by:
getServiceInfoin interfaceAnalysisEngineController
-
getServicePerformance
public ServicePerformance getServicePerformance(java.lang.String aDelegateKey)
- Specified by:
getServicePerformancein interfaceAggregateAnalysisEngineController
-
incrementAnalysisTime
public void incrementAnalysisTime(long anAnalysisTime)
Accumulate analysis time for the aggregate- Parameters:
anAnalysisTime-
-
stopTimers
public void stopTimers()
- Specified by:
stopTimersin interfaceAggregateAnalysisEngineController
-
requestForMetaSentToRemotes
public boolean requestForMetaSentToRemotes()
- Specified by:
requestForMetaSentToRemotesin interfaceAggregateAnalysisEngineController
-
setRequestForMetaSentToRemotes
public void setRequestForMetaSentToRemotes()
- Specified by:
setRequestForMetaSentToRemotesin interfaceAggregateAnalysisEngineController
-
cleanUp
public void cleanUp()
- Overrides:
cleanUpin classBaseAnalysisEngineController
-
stop
public void stop()
Description copied from class:BaseAnalysisEngineControllerStops input channel(s) and initiates a shutdown of all delegates ( if this is an aggregate ). At the end sends an Exception to the client and closes an output channel.- Specified by:
stopin interfaceAnalysisEngineController- Overrides:
stopin classBaseAnalysisEngineController
-
getChildControllerList
public java.util.List getChildControllerList()
- Specified by:
getChildControllerListin interfaceAggregateAnalysisEngineController
-
onInitialize
public void onInitialize()
Force all collocated delegates to perform any post-initialization steps.- Specified by:
onInitializein interfaceAnalysisEngineController
-
changeCollocatedDelegateState
public void changeCollocatedDelegateState(java.lang.String delegateKey, BaseAnalysisEngineController.ServiceState state) throws java.lang.Exception- Specified by:
changeCollocatedDelegateStatein interfaceAggregateAnalysisEngineController- Throws:
java.lang.Exception
-
dumpState
public void dumpState(java.lang.StringBuffer buffer, java.lang.String lbl1)- Specified by:
dumpStatein interfaceAnalysisEngineController- Specified by:
dumpStatein classBaseAnalysisEngineController
-
getLocalCache
public LocalCache getLocalCache()
- Specified by:
getLocalCachein interfaceAnalysisEngineController- Overrides:
getLocalCachein classBaseAnalysisEngineController
-
lookupDelegate
public Delegate lookupDelegate(java.lang.String aDelegateKey)
ReturnDelegateobject for a given delegate key.- Specified by:
lookupDelegatein interfaceAggregateAnalysisEngineController
-
setCasLoggingDirectory
public void setCasLoggingDirectory(java.lang.String key, java.lang.String directory)- Specified by:
setCasLoggingDirectoryin interfaceAggregateAnalysisEngineController
-
-