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 TypeMethodDescriptionvoid
addStatistic
(String key, Statistic aStatistic) void
addStatistic
(String aName, Statistic aStatistic, Endpoint anEndpoint) long
getLongNumericStatistic
(String aComponent, String aStatisticName) getStatistic
(String key) getStatistic
(String aComponentName, String aStatisticName) getStatistics
(String aComponentName) void
incrementCount
(String aComponent, String aStatisticName) void
resetCountingStatistic
(String aComponent, String aStatisticName) void
setThresholds
(Map aThresholdMap) long
-
Constructor Details
-
BaseMonitor
- Throws:
Exception
-
-
Method Details
-
setThresholds
- Specified by:
setThresholds
in interfaceMonitor
-
getThresholds
- Specified by:
getThresholds
in interfaceMonitor
-
addStatistic
-
getStatistic
-
addStatistic
- Specified by:
addStatistic
in interfaceMonitor
-
getLongNumericStatistic
- Specified by:
getLongNumericStatistic
in interfaceMonitor
-
getStatistic
- Specified by:
getStatistic
in interfaceMonitor
-
getStatistics
- Specified by:
getStatistics
in interfaceMonitor
-
incrementCount
- Specified by:
incrementCount
in interfaceMonitor
-
resetCountingStatistic
- Specified by:
resetCountingStatistic
in interfaceMonitor
-
componentMapSize
public long componentMapSize()- Specified by:
componentMapSize
in interfaceMonitor
-
thresholdMapSize
public long thresholdMapSize()- Specified by:
thresholdMapSize
in interfaceMonitor
-