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 TypeMethodDescriptionvoid
addStatistic
(String aComponentName, Statistic aStatistic) long
getLongNumericStatistic
(String aComponent, String aStatisticName) 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
-
MonitorBaseImpl
public MonitorBaseImpl()
-
-
Method Details
-
setThresholds
- Specified by:
setThresholds
in interfaceMonitor
-
getThresholds
- Specified by:
getThresholds
in interfaceMonitor
-
addStatistic
- Specified by:
addStatistic
in interfaceMonitor
-
getLongNumericStatistic
- Specified by:
getLongNumericStatistic
in interfaceMonitor
-
incrementCount
- Specified by:
incrementCount
in interfaceMonitor
-
getStatistics
- Specified by:
getStatistics
in interfaceMonitor
-
resetCountingStatistic
- Specified by:
resetCountingStatistic
in interfaceMonitor
-
getStatistic
- Specified by:
getStatistic
in interfaceMonitor
-
componentMapSize
public long componentMapSize()- Specified by:
componentMapSize
in interfaceMonitor
-
thresholdMapSize
public long thresholdMapSize()- Specified by:
thresholdMapSize
in interfaceMonitor
-