org.apache.uima.aae.controller
Class UimacppServiceManagement
java.lang.Object
org.apache.uima.aae.controller.UimacppServiceManagement
- All Implemented Interfaces:
- java.io.Serializable, UimacppServiceManagementMBean, org.apache.uima.resource.ManagementObject
public class UimacppServiceManagement
- extends java.lang.Object
- implements UimacppServiceManagementMBean
This class implements the JMX MBean interface to provide operational statistics about the C++
service.
- See Also:
- Serialized Form
Constructor Summary |
UimacppServiceManagement(java.lang.String domainName,
java.net.Socket sock,
java.lang.String aeDescriptor,
int numInstances,
java.lang.String brokerURL,
java.lang.String queueName)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UimacppServiceManagement
public UimacppServiceManagement(java.lang.String domainName,
java.net.Socket sock,
java.lang.String aeDescriptor,
int numInstances,
java.lang.String brokerURL,
java.lang.String queueName)
throws java.io.IOException
- Throws:
java.io.IOException
quiesceAndStop
public java.lang.String quiesceAndStop()
throws java.io.IOException
- Throws:
java.io.IOException
getStatisticsAsString
public java.lang.String getStatisticsAsString()
throws java.io.IOException
- Throws:
java.io.IOException
getStatistics
public void getStatistics()
throws java.io.IOException
- Throws:
java.io.IOException
getQueueBrokerURL
public java.lang.String getQueueBrokerURL()
throws java.io.IOException
- Specified by:
getQueueBrokerURL
in interface UimacppServiceManagementMBean
- Throws:
java.io.IOException
getQueueName
public java.lang.String getQueueName()
throws java.io.IOException
- Specified by:
getQueueName
in interface UimacppServiceManagementMBean
- Throws:
java.io.IOException
getAEDescriptor
public java.lang.String getAEDescriptor()
throws java.io.IOException
- Specified by:
getAEDescriptor
in interface UimacppServiceManagementMBean
- Throws:
java.io.IOException
getAEInstances
public int getAEInstances()
throws java.io.IOException
- Specified by:
getAEInstances
in interface UimacppServiceManagementMBean
- Throws:
java.io.IOException
getErrorsGetMeta
public long getErrorsGetMeta()
throws java.io.IOException
- Specified by:
getErrorsGetMeta
in interface UimacppServiceManagementMBean
- Throws:
java.io.IOException
getErrorsProcessCas
public long getErrorsProcessCas()
throws java.io.IOException
- Specified by:
getErrorsProcessCas
in interface UimacppServiceManagementMBean
- Throws:
java.io.IOException
getErrorsCPC
public long getErrorsCPC()
throws java.io.IOException
- Specified by:
getErrorsCPC
in interface UimacppServiceManagementMBean
- Throws:
java.io.IOException
getTotalNumCasProcessed
public long getTotalNumCasProcessed()
throws java.io.IOException
- Specified by:
getTotalNumCasProcessed
in interface UimacppServiceManagementMBean
- Throws:
java.io.IOException
getTimingGetMeta
public long getTimingGetMeta()
throws java.io.IOException
- Specified by:
getTimingGetMeta
in interface UimacppServiceManagementMBean
- Throws:
java.io.IOException
getTimingCPC
public long getTimingCPC()
throws java.io.IOException
- Specified by:
getTimingCPC
in interface UimacppServiceManagementMBean
- Throws:
java.io.IOException
getTimingSerialization
public long getTimingSerialization()
throws java.io.IOException
- Specified by:
getTimingSerialization
in interface UimacppServiceManagementMBean
- Throws:
java.io.IOException
getTimingAnnotatorProcess
public long getTimingAnnotatorProcess()
throws java.io.IOException
- Specified by:
getTimingAnnotatorProcess
in interface UimacppServiceManagementMBean
- Throws:
java.io.IOException
getTimingDeserialization
public long getTimingDeserialization()
throws java.io.IOException
- Specified by:
getTimingDeserialization
in interface UimacppServiceManagementMBean
- Throws:
java.io.IOException
getTimingMessageProcessing
public long getTimingMessageProcessing()
throws java.io.IOException
- Specified by:
getTimingMessageProcessing
in interface UimacppServiceManagementMBean
- Throws:
java.io.IOException
getTimingIdle
public long getTimingIdle()
throws java.io.IOException
- Specified by:
getTimingIdle
in interface UimacppServiceManagementMBean
- Throws:
java.io.IOException
resetStats
public void resetStats()
throws java.io.IOException
- Specified by:
resetStats
in interface UimacppServiceManagementMBean
- Throws:
java.io.IOException
increaseAEInstances
public void increaseAEInstances(int num)
- Specified by:
increaseAEInstances
in interface UimacppServiceManagementMBean
decreaseAEInstances
public void decreaseAEInstances(int num)
- Specified by:
decreaseAEInstances
in interface UimacppServiceManagementMBean
shutdown
public void shutdown()
throws java.io.IOException
- Specified by:
shutdown
in interface UimacppServiceManagementMBean
- Throws:
java.io.IOException
getUniqueMBeanName
public java.lang.String getUniqueMBeanName()
- Specified by:
getUniqueMBeanName
in interface org.apache.uima.resource.ManagementObject
quiesceAndShutdown
public void quiesceAndShutdown()
throws java.io.IOException
- Specified by:
quiesceAndShutdown
in interface UimacppServiceManagementMBean
- Throws:
java.io.IOException
Copyright © 2012. All Rights Reserved.