Package org.apache.uima.aae.monitor
Class BaseMonitor
java.lang.Object
org.apache.uima.aae.monitor.BaseMonitor
- All Implemented Interfaces:
Monitor
-
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 -
Method Summary
Modifier and TypeMethodDescriptionvoidaddStatistic(String key, Statistic aStatistic) voidaddStatistic(String aName, Statistic aStatistic, Endpoint anEndpoint) longgetLongNumericStatistic(String aComponent, String aStatisticName) getStatistic(String key) getStatistic(String aComponentName, String aStatisticName) getStatistics(String aComponentName) voidincrementCount(String aComponent, String aStatisticName) voidresetCountingStatistic(String aComponent, String aStatisticName) voidsetThresholds(Map aThresholdMap) long
-
Constructor Details
-
BaseMonitor
- Throws:
Exception
-
-
Method Details
-
setThresholds
- Specified by:
setThresholdsin interfaceMonitor
-
getThresholds
- Specified by:
getThresholdsin interfaceMonitor
-
addStatistic
-
getStatistic
-
addStatistic
- Specified by:
addStatisticin interfaceMonitor
-
getLongNumericStatistic
- Specified by:
getLongNumericStatisticin interfaceMonitor
-
getStatistic
- Specified by:
getStatisticin interfaceMonitor
-
getStatistics
- Specified by:
getStatisticsin interfaceMonitor
-
incrementCount
- Specified by:
incrementCountin interfaceMonitor
-
resetCountingStatistic
- Specified by:
resetCountingStatisticin interfaceMonitor
-
componentMapSize
public long componentMapSize()- Specified by:
componentMapSizein interfaceMonitor
-
thresholdMapSize
public long thresholdMapSize()- Specified by:
thresholdMapSizein interfaceMonitor
-