org.apache.uima.aae.monitor
Class MonitorBaseImpl
java.lang.Object
org.apache.uima.aae.monitor.MonitorBaseImpl
- All Implemented Interfaces:
- Monitor
public class MonitorBaseImpl
- extends java.lang.Object
- implements Monitor
Fields inherited from interface org.apache.uima.aae.monitor.Monitor |
CpCErrorCount, ErrorCount, GetMetaErrorCount, GetMetaErrorRetryCount, IdleTime, MetadataRequestTimeoutCount, ProcessCount, ProcessErrorCount, ProcessErrorRetryCount, ProcessRequestTimeoutCount, TotalAEProcessTime, TotalDeserializeTime, TotalProcessErrorCount, TotalSerializeTime |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MonitorBaseImpl
public MonitorBaseImpl()
setThresholds
public void setThresholds(java.util.Map aThresholdMap)
- Specified by:
setThresholds
in interface Monitor
getThresholds
public java.util.Map getThresholds()
- Specified by:
getThresholds
in interface Monitor
addStatistic
public void addStatistic(java.lang.String aComponentName,
Statistic aStatistic)
- Specified by:
addStatistic
in interface Monitor
getLongNumericStatistic
public LongNumericStatistic getLongNumericStatistic(java.lang.String aComponent,
java.lang.String aStatisticName)
- Specified by:
getLongNumericStatistic
in interface Monitor
incrementCount
public void incrementCount(java.lang.String aComponent,
java.lang.String aStatisticName)
- Specified by:
incrementCount
in interface Monitor
getStatistics
public Statistics getStatistics(java.lang.String aComponentName)
- Specified by:
getStatistics
in interface Monitor
resetCountingStatistic
public void resetCountingStatistic(java.lang.String aComponent,
java.lang.String aStatisticName)
- Specified by:
resetCountingStatistic
in interface Monitor
getStatistic
public Statistic getStatistic(java.lang.String aComponentName,
java.lang.String aStatisticName)
- Specified by:
getStatistic
in interface Monitor
componentMapSize
public long componentMapSize()
- Specified by:
componentMapSize
in interface Monitor
thresholdMapSize
public long thresholdMapSize()
- Specified by:
thresholdMapSize
in interface Monitor
Copyright © 2011. All Rights Reserved.