org.apache.uima.aae.monitor
CpCErrorCount, ErrorCount, GetMetaErrorCount, GetMetaErrorRetryCount, IdleTime, MetadataRequestTimeoutCount, ProcessCount, ProcessErrorCount, ProcessErrorRetryCount, ProcessRequestTimeoutCount, TotalAEProcessTime, TotalDeserializeTime, TotalProcessErrorCount, TotalSerializeTime
Constructor and Description |
---|
BaseMonitor(java.lang.String jmxServerURI) |
Modifier and Type | Method and Description |
---|---|
void |
addStatistic(java.lang.String key,
Statistic aStatistic) |
void |
addStatistic(java.lang.String aName,
Statistic aStatistic,
Endpoint anEndpoint) |
long |
componentMapSize() |
LongNumericStatistic |
getLongNumericStatistic(java.lang.String aComponent,
java.lang.String aStatisticName) |
Statistic |
getStatistic(java.lang.String key) |
Statistic |
getStatistic(java.lang.String aComponentName,
java.lang.String aStatisticName) |
Statistics |
getStatistics(java.lang.String aComponentName) |
java.util.Map |
getThresholds() |
void |
incrementCount(java.lang.String aComponent,
java.lang.String aStatisticName) |
void |
resetCountingStatistic(java.lang.String aComponent,
java.lang.String aStatisticName) |
void |
setThresholds(java.util.Map aThresholdMap) |
long |
thresholdMapSize() |
public BaseMonitor(java.lang.String jmxServerURI) throws java.lang.Exception
java.lang.Exception
public void setThresholds(java.util.Map aThresholdMap)
setThresholds
in interface Monitor
public java.util.Map getThresholds()
getThresholds
in interface Monitor
public void addStatistic(java.lang.String aName, Statistic aStatistic, Endpoint anEndpoint)
public Statistic getStatistic(java.lang.String key)
public void addStatistic(java.lang.String key, Statistic aStatistic)
addStatistic
in interface Monitor
public LongNumericStatistic getLongNumericStatistic(java.lang.String aComponent, java.lang.String aStatisticName)
getLongNumericStatistic
in interface Monitor
public Statistic getStatistic(java.lang.String aComponentName, java.lang.String aStatisticName)
getStatistic
in interface Monitor
public Statistics getStatistics(java.lang.String aComponentName)
getStatistics
in interface Monitor
public void incrementCount(java.lang.String aComponent, java.lang.String aStatisticName)
incrementCount
in interface Monitor
public void resetCountingStatistic(java.lang.String aComponent, java.lang.String aStatisticName)
resetCountingStatistic
in interface Monitor
public long componentMapSize()
componentMapSize
in interface Monitor
public long thresholdMapSize()
thresholdMapSize
in interface Monitor
Copyright © 2014. All Rights Reserved.