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 TypeMethodDescriptionvoid
decreaseAEInstances
(int num) int
long
long
long
void
long
long
long
long
long
long
long
long
void
increaseAEInstances
(int num) void
void
void
shutdown()
-
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:
getQueueBrokerURL
in interfaceUimacppServiceManagementMBean
- Throws:
IOException
-
getQueueName
- Specified by:
getQueueName
in interfaceUimacppServiceManagementMBean
- Throws:
IOException
-
getAEDescriptor
- Specified by:
getAEDescriptor
in interfaceUimacppServiceManagementMBean
- Throws:
IOException
-
getAEInstances
- Specified by:
getAEInstances
in interfaceUimacppServiceManagementMBean
- Throws:
IOException
-
getErrorsGetMeta
- Specified by:
getErrorsGetMeta
in interfaceUimacppServiceManagementMBean
- Throws:
IOException
-
getErrorsProcessCas
- Specified by:
getErrorsProcessCas
in interfaceUimacppServiceManagementMBean
- Throws:
IOException
-
getErrorsCPC
- Specified by:
getErrorsCPC
in interfaceUimacppServiceManagementMBean
- Throws:
IOException
-
getTotalNumCasProcessed
- Specified by:
getTotalNumCasProcessed
in interfaceUimacppServiceManagementMBean
- Throws:
IOException
-
getTimingGetMeta
- Specified by:
getTimingGetMeta
in interfaceUimacppServiceManagementMBean
- Throws:
IOException
-
getTimingCPC
- Specified by:
getTimingCPC
in interfaceUimacppServiceManagementMBean
- Throws:
IOException
-
getTimingSerialization
- Specified by:
getTimingSerialization
in interfaceUimacppServiceManagementMBean
- Throws:
IOException
-
getTimingAnnotatorProcess
- Specified by:
getTimingAnnotatorProcess
in interfaceUimacppServiceManagementMBean
- Throws:
IOException
-
getTimingDeserialization
- Specified by:
getTimingDeserialization
in interfaceUimacppServiceManagementMBean
- Throws:
IOException
-
getTimingMessageProcessing
- Specified by:
getTimingMessageProcessing
in interfaceUimacppServiceManagementMBean
- Throws:
IOException
-
getTimingIdle
- Specified by:
getTimingIdle
in interfaceUimacppServiceManagementMBean
- Throws:
IOException
-
resetStats
- Specified by:
resetStats
in interfaceUimacppServiceManagementMBean
- Throws:
IOException
-
increaseAEInstances
public void increaseAEInstances(int num) - Specified by:
increaseAEInstances
in interfaceUimacppServiceManagementMBean
-
decreaseAEInstances
public void decreaseAEInstances(int num) - Specified by:
decreaseAEInstances
in interfaceUimacppServiceManagementMBean
-
shutdown
- Specified by:
shutdown
in interfaceUimacppServiceManagementMBean
- Throws:
IOException
-
getUniqueMBeanName
- Specified by:
getUniqueMBeanName
in interfaceorg.apache.uima.resource.ManagementObject
-
quiesceAndShutdown
- Specified by:
quiesceAndShutdown
in interfaceUimacppServiceManagementMBean
- Throws:
IOException
-