Package org.apache.uima.aae.controller
Class UimacppServiceManagement
java.lang.Object
org.apache.uima.aae.controller.UimacppServiceManagement
- All Implemented Interfaces:
Serializable,UimacppServiceManagementMBean,org.apache.uima.resource.ManagementObject
This class implements the JMX MBean interface to provide operational statistics about the C++
service.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddecreaseAEInstances(int num) intlonglonglongvoidlonglonglonglonglonglonglonglongvoidincreaseAEInstances(int num) voidvoidvoidshutdown()
-
Constructor Details
-
UimacppServiceManagement
public UimacppServiceManagement(String domainName, Socket sock, String aeDescriptor, int numInstances, String brokerURL, String queueName) throws IOException - Throws:
IOException
-
-
Method Details
-
quiesceAndStop
- Throws:
IOException
-
getStatisticsAsString
- Throws:
IOException
-
getStatistics
- Throws:
IOException
-
getQueueBrokerURL
- Specified by:
getQueueBrokerURLin interfaceUimacppServiceManagementMBean- Throws:
IOException
-
getQueueName
- Specified by:
getQueueNamein interfaceUimacppServiceManagementMBean- Throws:
IOException
-
getAEDescriptor
- Specified by:
getAEDescriptorin interfaceUimacppServiceManagementMBean- Throws:
IOException
-
getAEInstances
- Specified by:
getAEInstancesin interfaceUimacppServiceManagementMBean- Throws:
IOException
-
getErrorsGetMeta
- Specified by:
getErrorsGetMetain interfaceUimacppServiceManagementMBean- Throws:
IOException
-
getErrorsProcessCas
- Specified by:
getErrorsProcessCasin interfaceUimacppServiceManagementMBean- Throws:
IOException
-
getErrorsCPC
- Specified by:
getErrorsCPCin interfaceUimacppServiceManagementMBean- Throws:
IOException
-
getTotalNumCasProcessed
- Specified by:
getTotalNumCasProcessedin interfaceUimacppServiceManagementMBean- Throws:
IOException
-
getTimingGetMeta
- Specified by:
getTimingGetMetain interfaceUimacppServiceManagementMBean- Throws:
IOException
-
getTimingCPC
- Specified by:
getTimingCPCin interfaceUimacppServiceManagementMBean- Throws:
IOException
-
getTimingSerialization
- Specified by:
getTimingSerializationin interfaceUimacppServiceManagementMBean- Throws:
IOException
-
getTimingAnnotatorProcess
- Specified by:
getTimingAnnotatorProcessin interfaceUimacppServiceManagementMBean- Throws:
IOException
-
getTimingDeserialization
- Specified by:
getTimingDeserializationin interfaceUimacppServiceManagementMBean- Throws:
IOException
-
getTimingMessageProcessing
- Specified by:
getTimingMessageProcessingin interfaceUimacppServiceManagementMBean- Throws:
IOException
-
getTimingIdle
- Specified by:
getTimingIdlein interfaceUimacppServiceManagementMBean- Throws:
IOException
-
resetStats
- Specified by:
resetStatsin interfaceUimacppServiceManagementMBean- Throws:
IOException
-
increaseAEInstances
public void increaseAEInstances(int num) - Specified by:
increaseAEInstancesin interfaceUimacppServiceManagementMBean
-
decreaseAEInstances
public void decreaseAEInstances(int num) - Specified by:
decreaseAEInstancesin interfaceUimacppServiceManagementMBean
-
shutdown
- Specified by:
shutdownin interfaceUimacppServiceManagementMBean- Throws:
IOException
-
getUniqueMBeanName
- Specified by:
getUniqueMBeanNamein interfaceorg.apache.uima.resource.ManagementObject
-
quiesceAndShutdown
- Specified by:
quiesceAndShutdownin interfaceUimacppServiceManagementMBean- Throws:
IOException
-