public class UimacppServiceManagement extends Object implements UimacppServiceManagementMBean
| Constructor and Description |
|---|
UimacppServiceManagement(String domainName,
Socket sock,
String aeDescriptor,
int numInstances,
String brokerURL,
String queueName) |
| Modifier and Type | Method and Description |
|---|---|
void |
decreaseAEInstances(int num) |
String |
getAEDescriptor() |
int |
getAEInstances() |
long |
getErrorsCPC() |
long |
getErrorsGetMeta() |
long |
getErrorsProcessCas() |
String |
getQueueBrokerURL() |
String |
getQueueName() |
void |
getStatistics() |
String |
getStatisticsAsString() |
long |
getTimingAnnotatorProcess() |
long |
getTimingCPC() |
long |
getTimingDeserialization() |
long |
getTimingGetMeta() |
long |
getTimingIdle() |
long |
getTimingMessageProcessing() |
long |
getTimingSerialization() |
long |
getTotalNumCasProcessed() |
String |
getUniqueMBeanName() |
void |
increaseAEInstances(int num) |
void |
quiesceAndShutdown() |
String |
quiesceAndStop() |
void |
resetStats() |
void |
shutdown() |
public UimacppServiceManagement(String domainName, Socket sock, String aeDescriptor, int numInstances, String brokerURL, String queueName) throws IOException
IOExceptionpublic String quiesceAndStop() throws IOException
IOExceptionpublic String getStatisticsAsString() throws IOException
IOExceptionpublic void getStatistics()
throws IOException
IOExceptionpublic String getQueueBrokerURL() throws IOException
getQueueBrokerURL in interface UimacppServiceManagementMBeanIOExceptionpublic String getQueueName() throws IOException
getQueueName in interface UimacppServiceManagementMBeanIOExceptionpublic String getAEDescriptor() throws IOException
getAEDescriptor in interface UimacppServiceManagementMBeanIOExceptionpublic int getAEInstances()
throws IOException
getAEInstances in interface UimacppServiceManagementMBeanIOExceptionpublic long getErrorsGetMeta()
throws IOException
getErrorsGetMeta in interface UimacppServiceManagementMBeanIOExceptionpublic long getErrorsProcessCas()
throws IOException
getErrorsProcessCas in interface UimacppServiceManagementMBeanIOExceptionpublic long getErrorsCPC()
throws IOException
getErrorsCPC in interface UimacppServiceManagementMBeanIOExceptionpublic long getTotalNumCasProcessed()
throws IOException
getTotalNumCasProcessed in interface UimacppServiceManagementMBeanIOExceptionpublic long getTimingGetMeta()
throws IOException
getTimingGetMeta in interface UimacppServiceManagementMBeanIOExceptionpublic long getTimingCPC()
throws IOException
getTimingCPC in interface UimacppServiceManagementMBeanIOExceptionpublic long getTimingSerialization()
throws IOException
getTimingSerialization in interface UimacppServiceManagementMBeanIOExceptionpublic long getTimingAnnotatorProcess()
throws IOException
getTimingAnnotatorProcess in interface UimacppServiceManagementMBeanIOExceptionpublic long getTimingDeserialization()
throws IOException
getTimingDeserialization in interface UimacppServiceManagementMBeanIOExceptionpublic long getTimingMessageProcessing()
throws IOException
getTimingMessageProcessing in interface UimacppServiceManagementMBeanIOExceptionpublic long getTimingIdle()
throws IOException
getTimingIdle in interface UimacppServiceManagementMBeanIOExceptionpublic void resetStats()
throws IOException
resetStats in interface UimacppServiceManagementMBeanIOExceptionpublic void increaseAEInstances(int num)
increaseAEInstances in interface UimacppServiceManagementMBeanpublic void decreaseAEInstances(int num)
decreaseAEInstances in interface UimacppServiceManagementMBeanpublic void shutdown()
throws IOException
shutdown in interface UimacppServiceManagementMBeanIOExceptionpublic String getUniqueMBeanName()
getUniqueMBeanName in interface org.apache.uima.resource.ManagementObjectpublic void quiesceAndShutdown()
throws IOException
quiesceAndShutdown in interface UimacppServiceManagementMBeanIOExceptionCopyright © 2016. All rights reserved.