Package org.apache.uima.aae.monitor
Class MonitorBaseImpl
java.lang.Object
org.apache.uima.aae.monitor.MonitorBaseImpl
- 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 aComponentName, Statistic aStatistic) longgetLongNumericStatistic(String aComponent, String aStatisticName) getStatistic(String aComponentName, String aStatisticName) getStatistics(String aComponentName) voidincrementCount(String aComponent, String aStatisticName) voidresetCountingStatistic(String aComponent, String aStatisticName) voidsetThresholds(Map aThresholdMap) long
-
Constructor Details
-
MonitorBaseImpl
public MonitorBaseImpl()
-
-
Method Details
-
setThresholds
- Specified by:
setThresholdsin interfaceMonitor
-
getThresholds
- Specified by:
getThresholdsin interfaceMonitor
-
addStatistic
- Specified by:
addStatisticin interfaceMonitor
-
getLongNumericStatistic
- Specified by:
getLongNumericStatisticin interfaceMonitor
-
incrementCount
- Specified by:
incrementCountin interfaceMonitor
-
getStatistics
- Specified by:
getStatisticsin interfaceMonitor
-
resetCountingStatistic
- Specified by:
resetCountingStatisticin interfaceMonitor
-
getStatistic
- Specified by:
getStatisticin interfaceMonitor
-
componentMapSize
public long componentMapSize()- Specified by:
componentMapSizein interfaceMonitor
-
thresholdMapSize
public long thresholdMapSize()- Specified by:
thresholdMapSizein interfaceMonitor
-