Package org.apache.uima.aae.monitor
Class MonitorBaseImpl
- java.lang.Object
-
- org.apache.uima.aae.monitor.MonitorBaseImpl
-
-
Field Summary
-
Fields inherited from interface org.apache.uima.aae.monitor.Monitor
CpCErrorCount, ErrorCount, GetMetaErrorCount, GetMetaErrorRetryCount, IdleTime, MetadataRequestTimeoutCount, ProcessCount, ProcessErrorCount, ProcessErrorRetryCount, ProcessRequestTimeoutCount, TotalAEProcessTime, TotalDeserializeTime, TotalProcessErrorCount, TotalSerializeTime
-
-
Constructor Summary
Constructors Constructor Description MonitorBaseImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddStatistic(java.lang.String aComponentName, Statistic aStatistic)longcomponentMapSize()LongNumericStatisticgetLongNumericStatistic(java.lang.String aComponent, java.lang.String aStatisticName)StatisticgetStatistic(java.lang.String aComponentName, java.lang.String aStatisticName)StatisticsgetStatistics(java.lang.String aComponentName)java.util.MapgetThresholds()voidincrementCount(java.lang.String aComponent, java.lang.String aStatisticName)voidresetCountingStatistic(java.lang.String aComponent, java.lang.String aStatisticName)voidsetThresholds(java.util.Map aThresholdMap)longthresholdMapSize()
-
-
-
Method Detail
-
setThresholds
public void setThresholds(java.util.Map aThresholdMap)
- Specified by:
setThresholdsin interfaceMonitor
-
getThresholds
public java.util.Map getThresholds()
- Specified by:
getThresholdsin interfaceMonitor
-
addStatistic
public void addStatistic(java.lang.String aComponentName, Statistic aStatistic)- Specified by:
addStatisticin interfaceMonitor
-
getLongNumericStatistic
public LongNumericStatistic getLongNumericStatistic(java.lang.String aComponent, java.lang.String aStatisticName)
- Specified by:
getLongNumericStatisticin interfaceMonitor
-
incrementCount
public void incrementCount(java.lang.String aComponent, java.lang.String aStatisticName)- Specified by:
incrementCountin interfaceMonitor
-
getStatistics
public Statistics getStatistics(java.lang.String aComponentName)
- Specified by:
getStatisticsin interfaceMonitor
-
resetCountingStatistic
public void resetCountingStatistic(java.lang.String aComponent, java.lang.String aStatisticName)- Specified by:
resetCountingStatisticin interfaceMonitor
-
getStatistic
public Statistic getStatistic(java.lang.String aComponentName, java.lang.String aStatisticName)
- Specified by:
getStatisticin interfaceMonitor
-
componentMapSize
public long componentMapSize()
- Specified by:
componentMapSizein interfaceMonitor
-
thresholdMapSize
public long thresholdMapSize()
- Specified by:
thresholdMapSizein interfaceMonitor
-
-