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
IOException
public String quiesceAndStop() throws IOException
IOException
public String getStatisticsAsString() throws IOException
IOException
public void getStatistics() throws IOException
IOException
public String getQueueBrokerURL() throws IOException
getQueueBrokerURL
in interface UimacppServiceManagementMBean
IOException
public String getQueueName() throws IOException
getQueueName
in interface UimacppServiceManagementMBean
IOException
public String getAEDescriptor() throws IOException
getAEDescriptor
in interface UimacppServiceManagementMBean
IOException
public int getAEInstances() throws IOException
getAEInstances
in interface UimacppServiceManagementMBean
IOException
public long getErrorsGetMeta() throws IOException
getErrorsGetMeta
in interface UimacppServiceManagementMBean
IOException
public long getErrorsProcessCas() throws IOException
getErrorsProcessCas
in interface UimacppServiceManagementMBean
IOException
public long getErrorsCPC() throws IOException
getErrorsCPC
in interface UimacppServiceManagementMBean
IOException
public long getTotalNumCasProcessed() throws IOException
getTotalNumCasProcessed
in interface UimacppServiceManagementMBean
IOException
public long getTimingGetMeta() throws IOException
getTimingGetMeta
in interface UimacppServiceManagementMBean
IOException
public long getTimingCPC() throws IOException
getTimingCPC
in interface UimacppServiceManagementMBean
IOException
public long getTimingSerialization() throws IOException
getTimingSerialization
in interface UimacppServiceManagementMBean
IOException
public long getTimingAnnotatorProcess() throws IOException
getTimingAnnotatorProcess
in interface UimacppServiceManagementMBean
IOException
public long getTimingDeserialization() throws IOException
getTimingDeserialization
in interface UimacppServiceManagementMBean
IOException
public long getTimingMessageProcessing() throws IOException
getTimingMessageProcessing
in interface UimacppServiceManagementMBean
IOException
public long getTimingIdle() throws IOException
getTimingIdle
in interface UimacppServiceManagementMBean
IOException
public void resetStats() throws IOException
resetStats
in interface UimacppServiceManagementMBean
IOException
public void increaseAEInstances(int num)
increaseAEInstances
in interface UimacppServiceManagementMBean
public void decreaseAEInstances(int num)
decreaseAEInstances
in interface UimacppServiceManagementMBean
public void shutdown() throws IOException
shutdown
in interface UimacppServiceManagementMBean
IOException
public String getUniqueMBeanName()
getUniqueMBeanName
in interface org.apache.uima.resource.ManagementObject
public void quiesceAndShutdown() throws IOException
quiesceAndShutdown
in interface UimacppServiceManagementMBean
IOException
Copyright © 2017. All rights reserved.