public interface AnalysisEngineController extends ControllerLifecycle
| Modifier and Type | Field and Description |
|---|---|
static String |
AEInstanceCount |
static String |
CasPoolSize |
addControllerCallbackListener, removeControllerCallbackListener, terminatestatic final String CasPoolSize
static final String AEInstanceCount
void sendMetadata(Endpoint anEndpoint) throws AsynchAEException
AsynchAEExceptionControllerLatch getControllerLatch()
void setInputChannel(InputChannel anInputChannel) throws Exception
Exceptionvoid addInputChannel(InputChannel anInputChannel) throws Exception
ExceptionString getServiceEndpointName()
void handleDelegateLifeCycleEvent(String anEndpoint, int aDelegateCount)
void takeAction(String anAction, String anEndpointName, ErrorContext anErrorContext)
InputChannel getInputChannel()
InputChannel getInputChannel(String aQueueName)
void saveReplyTime(long snapshot,
String aKey)
long getReplyTime()
Map getStats()
org.apache.uima.UimaContext getChildUimaContext(String aDelegateEndpointName) throws Exception
Exceptionvoid dropCAS(String aCasReferenceId, boolean dropCacheEntry)
void dropCAS(org.apache.uima.cas.CAS aCAS)
InProcessCache getInProcessCache()
boolean isPrimitive()
Monitor getMonitor()
String getName()
String getComponentName()
void collectionProcessComplete(Endpoint anEndpoint) throws AsynchAEException
AsynchAEExceptionboolean isTopLevelComponent()
void initialize()
throws AsynchAEException
AsynchAEExceptionvoid process(org.apache.uima.cas.CAS aCas,
String aCasId)
void process(org.apache.uima.cas.CAS aCAS,
String anInputCasReferenceId,
String aNewCasReferenceId,
String newCASProducedBy)
ErrorHandlerChain getErrorHandlerChain()
void setOutputChannel(OutputChannel anOutputChannel) throws Exception
ExceptionOutputChannel getOutputChannel()
void setCasManager(AsynchAECasManager aCasManager)
AsynchAECasManager getCasManagerWrapper()
void stop()
boolean isStopped()
void setStopped()
void setUimaEEAdminContext(UimaEEAdminContext anAdminContext)
UimaEEAdminContext getUimaEEAdminContext()
String getJMXDomain()
int getIndex()
String getJmxContext()
ServicePerformance getServicePerformance()
ServiceInfo getServiceInfo()
void addServiceInfo(ServiceInfo aServiceInfo)
ServiceErrors getServiceErrors()
void setDeployDescriptor(String aDeployDescriptor)
void cacheClientEndpoint(Endpoint anEndpoint)
Endpoint getClientEndpoint()
EventSubscriber getEventListener()
JmxManagement getManagementInterface()
void notifyListenersWithInitializationStatus(Exception e)
ServicePerformance getCasStatistics(String aCasReferenceId)
boolean isCasMultiplier()
void releaseNextCas(String aCasReferenceId)
long getIdleTime()
void beginProcess(int msgType)
void endProcess(int msgType)
long getIdleTimeBetweenProcessCalls(int msgType)
long getCpuTime()
long getAnalysisTime()
void incrementSerializationTime(long cpuTime)
void incrementDeserializationTime(long cpuTime)
void onInitialize()
UimaMessageListener getUimaMessageListener(String aDelegateKey)
UimaTransport getTransport(UimaAsContext aContext, String aKey) throws Exception
ExceptionUimaTransport getTransport(String aKey) throws Exception
Exceptionvoid initializeVMTransport(int parentControllerReplyConsumerCount)
throws Exception
ExceptionInputChannel getReplyInputChannel(String aDelegateKey)
LocalCache getLocalCache()
void registerVmQueueWithJMX(Object o, String aName) throws Exception
ExceptionAnalysisEngineController getParentController()
void addAbortedCasReferenceId(String aCasReferenceId)
boolean isAwaitingCacheCallbackNotification()
void quiesceAndStop()
void forceTimeoutOnPendingCases(String key)
void changeState(BaseAnalysisEngineController.ServiceState state)
BaseAnalysisEngineController.ServiceState getState()
String getKey()
void dumpState(StringBuffer buffer, String lbl1)
Copyright © 2016. All rights reserved.