public class UimacppServiceManagement extends java.lang.Object implements UimacppServiceManagementMBean
| Constructor and Description |
|---|
UimacppServiceManagement(java.lang.String domainName,
java.net.Socket sock,
java.lang.String aeDescriptor,
int numInstances,
java.lang.String brokerURL,
java.lang.String queueName) |
| Modifier and Type | Method and Description |
|---|---|
void |
decreaseAEInstances(int num) |
java.lang.String |
getAEDescriptor() |
int |
getAEInstances() |
long |
getErrorsCPC() |
long |
getErrorsGetMeta() |
long |
getErrorsProcessCas() |
java.lang.String |
getQueueBrokerURL() |
java.lang.String |
getQueueName() |
void |
getStatistics() |
java.lang.String |
getStatisticsAsString() |
long |
getTimingAnnotatorProcess() |
long |
getTimingCPC() |
long |
getTimingDeserialization() |
long |
getTimingGetMeta() |
long |
getTimingIdle() |
long |
getTimingMessageProcessing() |
long |
getTimingSerialization() |
long |
getTotalNumCasProcessed() |
java.lang.String |
getUniqueMBeanName() |
void |
increaseAEInstances(int num) |
void |
quiesceAndShutdown() |
java.lang.String |
quiesceAndStop() |
void |
resetStats() |
void |
shutdown() |
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
java.io.IOExceptionpublic java.lang.String quiesceAndStop()
throws java.io.IOException
java.io.IOExceptionpublic java.lang.String getStatisticsAsString()
throws java.io.IOException
java.io.IOExceptionpublic void getStatistics()
throws java.io.IOException
java.io.IOExceptionpublic java.lang.String getQueueBrokerURL()
throws java.io.IOException
getQueueBrokerURL in interface UimacppServiceManagementMBeanjava.io.IOExceptionpublic java.lang.String getQueueName()
throws java.io.IOException
getQueueName in interface UimacppServiceManagementMBeanjava.io.IOExceptionpublic java.lang.String getAEDescriptor()
throws java.io.IOException
getAEDescriptor in interface UimacppServiceManagementMBeanjava.io.IOExceptionpublic int getAEInstances()
throws java.io.IOException
getAEInstances in interface UimacppServiceManagementMBeanjava.io.IOExceptionpublic long getErrorsGetMeta()
throws java.io.IOException
getErrorsGetMeta in interface UimacppServiceManagementMBeanjava.io.IOExceptionpublic long getErrorsProcessCas()
throws java.io.IOException
getErrorsProcessCas in interface UimacppServiceManagementMBeanjava.io.IOExceptionpublic long getErrorsCPC()
throws java.io.IOException
getErrorsCPC in interface UimacppServiceManagementMBeanjava.io.IOExceptionpublic long getTotalNumCasProcessed()
throws java.io.IOException
getTotalNumCasProcessed in interface UimacppServiceManagementMBeanjava.io.IOExceptionpublic long getTimingGetMeta()
throws java.io.IOException
getTimingGetMeta in interface UimacppServiceManagementMBeanjava.io.IOExceptionpublic long getTimingCPC()
throws java.io.IOException
getTimingCPC in interface UimacppServiceManagementMBeanjava.io.IOExceptionpublic long getTimingSerialization()
throws java.io.IOException
getTimingSerialization in interface UimacppServiceManagementMBeanjava.io.IOExceptionpublic long getTimingAnnotatorProcess()
throws java.io.IOException
getTimingAnnotatorProcess in interface UimacppServiceManagementMBeanjava.io.IOExceptionpublic long getTimingDeserialization()
throws java.io.IOException
getTimingDeserialization in interface UimacppServiceManagementMBeanjava.io.IOExceptionpublic long getTimingMessageProcessing()
throws java.io.IOException
getTimingMessageProcessing in interface UimacppServiceManagementMBeanjava.io.IOExceptionpublic long getTimingIdle()
throws java.io.IOException
getTimingIdle in interface UimacppServiceManagementMBeanjava.io.IOExceptionpublic void resetStats()
throws java.io.IOException
resetStats in interface UimacppServiceManagementMBeanjava.io.IOExceptionpublic void increaseAEInstances(int num)
increaseAEInstances in interface UimacppServiceManagementMBeanpublic void decreaseAEInstances(int num)
decreaseAEInstances in interface UimacppServiceManagementMBeanpublic void shutdown()
throws java.io.IOException
shutdown in interface UimacppServiceManagementMBeanjava.io.IOExceptionpublic java.lang.String getUniqueMBeanName()
getUniqueMBeanName in interface org.apache.uima.resource.ManagementObjectpublic void quiesceAndShutdown()
throws java.io.IOException
quiesceAndShutdown in interface UimacppServiceManagementMBeanjava.io.IOExceptionCopyright © 2012. All Rights Reserved.