public class PrimitiveAnalysisEngineController_impl extends BaseAnalysisEngineController implements PrimitiveAnalysisEngineController
| Modifier and Type | Class and Description |
|---|---|
class |
PrimitiveAnalysisEngineController_impl.StackDumpTimer
The HeapDumpTimer is optionally used to dump the heap if a task takes too much time to finish.
|
BaseAnalysisEngineController.ServiceState| Modifier and Type | Field and Description |
|---|---|
protected Object |
notifyObj |
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, unregisteredDelegateListAEInstanceCount, CasPoolSize| Constructor and Description |
|---|
PrimitiveAnalysisEngineController_impl(AnalysisEngineController aParentController,
String anEndpointName,
String anAnalysisEngineDescriptor,
AsynchAECasManager aCasManager,
InProcessCache anInProcessCache,
int aWorkQueueSize,
int anAnalysisEnginePoolSize) |
PrimitiveAnalysisEngineController_impl(AnalysisEngineController aParentController,
String anEndpointName,
String anAnalysisEngineDescriptor,
AsynchAECasManager aCasManager,
InProcessCache anInProcessCache,
int aWorkQueueSize,
int anAnalysisEnginePoolSize,
int aComponentCasPoolSize) |
PrimitiveAnalysisEngineController_impl(AnalysisEngineController aParentController,
String anEndpointName,
String anAnalysisEngineDescriptor,
AsynchAECasManager aCasManager,
InProcessCache anInProcessCache,
int aWorkQueueSize,
int anAnalysisEnginePoolSize,
int aComponentCasPoolSize,
JmxManagement aJmxManagement) |
PrimitiveAnalysisEngineController_impl(AnalysisEngineController aParentController,
String anEndpointName,
String anAnalysisEngineDescriptor,
AsynchAECasManager aCasManager,
InProcessCache anInProcessCache,
int aWorkQueueSize,
int anAnalysisEnginePoolSize,
int aComponentCasPoolSize,
long anInitialCasHeapSize) |
PrimitiveAnalysisEngineController_impl(AnalysisEngineController aParentController,
String anEndpointName,
String anAnalysisEngineDescriptor,
AsynchAECasManager aCasManager,
InProcessCache anInProcessCache,
int aWorkQueueSize,
int anAnalysisEnginePoolSize,
int aComponentCasPoolSize,
long anInitialCasHeapSize,
JmxManagement aJmxManagement) |
PrimitiveAnalysisEngineController_impl(AnalysisEngineController aParentController,
String anEndpointName,
String anAnalysisEngineDescriptor,
AsynchAECasManager aCasManager,
InProcessCache anInProcessCache,
int aWorkQueueSize,
int anAnalysisEnginePoolSize,
JmxManagement aJmxManagement) |
PrimitiveAnalysisEngineController_impl(String anEndpointName,
String anAnalysisEngineDescriptor,
AsynchAECasManager aCasManager,
InProcessCache anInProcessCache,
int aWorkQueueSize,
int anAnalysisEnginePoolSize) |
| Modifier and Type | Method and Description |
|---|---|
void |
collectionProcessComplete(Endpoint anEndpoint) |
void |
dumpState(StringBuffer buffer,
String lbl1) |
protected void |
forceStackDump()
This method forces a heap and java dump.
|
int |
getAEInstanceCount() |
ControllerLatch |
getControllerLatch() |
Monitor |
getMonitor() |
protected String |
getNameFromMetadata() |
String |
getServiceEndpointName() |
PrimitiveServiceInfo |
getServiceInfo() |
void |
handleDelegateLifeCycleEvent(String anEndpoint,
int aDelegateCount) |
void |
initialize() |
void |
initializeAnalysisEngine() |
boolean |
isPrimitive() |
void |
onInitialize()
Forces initialization of a Cas Pool if this is a Cas Multiplier delegate collocated with an
aggregate.
|
void |
process(org.apache.uima.cas.CAS aCAS,
String aCasReferenceId,
Endpoint anEndpoint)
This is called when a Stop request is received from a client.
|
void |
sendMetadata(Endpoint anEndpoint) |
void |
setAnalysisEngineInstancePool(AnalysisEngineInstancePool aPool) |
void |
setMonitor(Monitor monitor) |
void |
stop()
Stops input channel(s) and initiates a shutdown of all delegates ( if this is an aggregate ).
|
void |
takeAction(String anAction,
String anEndpointName,
ErrorContext anErrorContext)
Executes action on error.
|
boolean |
threadAssignedToAE() |
abortGeneratingCASes, addAbortedCasReferenceId, addControllerCallbackListener, addInputChannel, addServiceInfo, beginProcess, cacheClientEndpoint, changeState, cleanUp, clearStats, dropCAS, 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, getLocalCache, 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, 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, toStringdestroy, getCasManager, getLogger, getMetaData, getResourceManager, getUimaContext, getUimaContextAdmin, initialize, setLogger, setMetaDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddAbortedCasReferenceIdaddInputChannel, addServiceInfo, beginProcess, cacheClientEndpoint, changeState, dropCAS, dropCAS, dropStats, endProcess, forceTimeoutOnPendingCases, getAnalysisTime, getCasManagerWrapper, getCasStatistics, getChildUimaContext, getClientEndpoint, getComponentName, getCpuTime, getDeadClientMap, getErrorHandlerChain, getEventListener, getIdleTime, getIdleTimeBetweenProcessCalls, getIndex, getInProcessCache, getInputChannel, getInputChannel, getJmxContext, getJMXDomain, getKey, getLocalCache, getManagementInterface, getName, getOutputChannel, getParentController, getReplyInputChannel, getReplyTime, getServiceErrors, getServicePerformance, getState, getStats, getTime, getTransport, getTransport, getUimaEEAdminContext, getUimaMessageListener, incrementDeserializationTime, incrementSerializationTime, initializeVMTransport, isAwaitingCacheCallbackNotification, isCasMultiplier, isStopped, isTopLevelComponent, notifyListenersWithInitializationStatus, process, process, quiesceAndStop, registerVmQueueWithJMX, releaseNextCas, saveReplyTime, saveTime, setCasManager, setDeployDescriptor, setInputChannel, setOutputChannel, setStopped, setUimaEEAdminContextaddControllerCallbackListener, removeControllerCallbackListener, terminateprotected Object notifyObj
public PrimitiveAnalysisEngineController_impl(String anEndpointName, String anAnalysisEngineDescriptor, AsynchAECasManager aCasManager, InProcessCache anInProcessCache, int aWorkQueueSize, int anAnalysisEnginePoolSize) throws Exception
Exceptionpublic PrimitiveAnalysisEngineController_impl(AnalysisEngineController aParentController, String anEndpointName, String anAnalysisEngineDescriptor, AsynchAECasManager aCasManager, InProcessCache anInProcessCache, int aWorkQueueSize, int anAnalysisEnginePoolSize) throws Exception
Exceptionpublic PrimitiveAnalysisEngineController_impl(AnalysisEngineController aParentController, String anEndpointName, String anAnalysisEngineDescriptor, AsynchAECasManager aCasManager, InProcessCache anInProcessCache, int aWorkQueueSize, int anAnalysisEnginePoolSize, int aComponentCasPoolSize) throws Exception
Exceptionpublic PrimitiveAnalysisEngineController_impl(AnalysisEngineController aParentController, String anEndpointName, String anAnalysisEngineDescriptor, AsynchAECasManager aCasManager, InProcessCache anInProcessCache, int aWorkQueueSize, int anAnalysisEnginePoolSize, int aComponentCasPoolSize, long anInitialCasHeapSize) throws Exception
Exceptionpublic PrimitiveAnalysisEngineController_impl(AnalysisEngineController aParentController, String anEndpointName, String anAnalysisEngineDescriptor, AsynchAECasManager aCasManager, InProcessCache anInProcessCache, int aWorkQueueSize, int anAnalysisEnginePoolSize, int aComponentCasPoolSize, JmxManagement aJmxManagement) throws Exception
Exceptionpublic PrimitiveAnalysisEngineController_impl(AnalysisEngineController aParentController, String anEndpointName, String anAnalysisEngineDescriptor, AsynchAECasManager aCasManager, InProcessCache anInProcessCache, int aWorkQueueSize, int anAnalysisEnginePoolSize, int aComponentCasPoolSize, long anInitialCasHeapSize, JmxManagement aJmxManagement) throws Exception
Exceptionpublic PrimitiveAnalysisEngineController_impl(AnalysisEngineController aParentController, String anEndpointName, String anAnalysisEngineDescriptor, AsynchAECasManager aCasManager, InProcessCache anInProcessCache, int aWorkQueueSize, int anAnalysisEnginePoolSize, JmxManagement aJmxManagement) throws Exception
Exceptionpublic int getAEInstanceCount()
getAEInstanceCount in interface PrimitiveAnalysisEngineControllerpublic void initializeAnalysisEngine()
throws org.apache.uima.resource.ResourceInitializationException
initializeAnalysisEngine in interface PrimitiveAnalysisEngineControllerorg.apache.uima.resource.ResourceInitializationExceptionpublic boolean threadAssignedToAE()
threadAssignedToAE in interface PrimitiveAnalysisEngineControllerpublic void initialize()
throws AsynchAEException
initialize in interface AnalysisEngineControllerAsynchAEExceptionpublic void onInitialize()
onInitialize in interface AnalysisEngineControllerpublic void collectionProcessComplete(Endpoint anEndpoint)
collectionProcessComplete in interface AnalysisEngineControllerpublic void process(org.apache.uima.cas.CAS aCAS,
String aCasReferenceId,
Endpoint anEndpoint)
process in interface AnalysisEngineControllerprocess in class BaseAnalysisEngineControlleraCasReferenceId - - Id of an input CAS. The client wants to stop generation of child CASes from this
CAS.public void sendMetadata(Endpoint anEndpoint) throws AsynchAEException
sendMetadata in interface AnalysisEngineControllerAsynchAEExceptionpublic void takeAction(String anAction, String anEndpointName, ErrorContext anErrorContext)
takeAction in interface AnalysisEngineControllerpublic String getServiceEndpointName()
getServiceEndpointName in interface AnalysisEngineControllerpublic ControllerLatch getControllerLatch()
getControllerLatch in interface AnalysisEngineControllerpublic boolean isPrimitive()
isPrimitive in interface AnalysisEngineControllerpublic Monitor getMonitor()
getMonitor in interface AnalysisEngineControllerpublic void setMonitor(Monitor monitor)
public void handleDelegateLifeCycleEvent(String anEndpoint, int aDelegateCount)
handleDelegateLifeCycleEvent in interface AnalysisEngineControllerprotected String getNameFromMetadata()
public void setAnalysisEngineInstancePool(AnalysisEngineInstancePool aPool)
setAnalysisEngineInstancePool in interface PrimitiveAnalysisEngineControllerpublic PrimitiveServiceInfo getServiceInfo()
getServiceInfo in interface AnalysisEngineControllergetServiceInfo in interface PrimitiveAnalysisEngineControllerpublic void stop()
BaseAnalysisEngineControllerstop in interface AnalysisEngineControllerstop in class BaseAnalysisEngineControllerprotected final void forceStackDump()
public void dumpState(StringBuffer buffer, String lbl1)
dumpState in interface AnalysisEngineControllerdumpState in class BaseAnalysisEngineControllerCopyright © 2016. All rights reserved.