org.apache.uima.aae.monitor
Interface Monitor

All Known Implementing Classes:
BaseMonitor, MonitorBaseImpl

public interface Monitor


Field Summary
static java.lang.String CpCErrorCount
           
static java.lang.String ErrorCount
           
static java.lang.String GetMetaErrorCount
           
static java.lang.String GetMetaErrorRetryCount
           
static java.lang.String IdleTime
           
static java.lang.String MetadataRequestTimeoutCount
           
static java.lang.String ProcessCount
           
static java.lang.String ProcessErrorCount
           
static java.lang.String ProcessErrorRetryCount
           
static java.lang.String ProcessRequestTimeoutCount
           
static java.lang.String TotalAEProcessTime
           
static java.lang.String TotalDeserializeTime
           
static java.lang.String TotalProcessErrorCount
           
static java.lang.String TotalSerializeTime
           
 
Method Summary
 void addStatistic(java.lang.String key, Statistic aStatistic)
           
 long componentMapSize()
           
 LongNumericStatistic getLongNumericStatistic(java.lang.String aComponent, java.lang.String aStatisticName)
           
 Statistic getStatistic(java.lang.String aComponentName, java.lang.String aStatisticName)
           
 Statistics getStatistics(java.lang.String aComponentName)
           
 java.util.Map getThresholds()
           
 void incrementCount(java.lang.String aComponent, java.lang.String aStatisticName)
           
 void resetCountingStatistic(java.lang.String aComponent, java.lang.String aStatisticName)
           
 void setThresholds(java.util.Map aThresholdMap)
           
 long thresholdMapSize()
           
 

Field Detail

MetadataRequestTimeoutCount

static final java.lang.String MetadataRequestTimeoutCount
See Also:
Constant Field Values

ProcessRequestTimeoutCount

static final java.lang.String ProcessRequestTimeoutCount
See Also:
Constant Field Values

ErrorCount

static final java.lang.String ErrorCount
See Also:
Constant Field Values

ProcessErrorCount

static final java.lang.String ProcessErrorCount
See Also:
Constant Field Values

TotalProcessErrorCount

static final java.lang.String TotalProcessErrorCount
See Also:
Constant Field Values

ProcessErrorRetryCount

static final java.lang.String ProcessErrorRetryCount
See Also:
Constant Field Values

GetMetaErrorCount

static final java.lang.String GetMetaErrorCount
See Also:
Constant Field Values

GetMetaErrorRetryCount

static final java.lang.String GetMetaErrorRetryCount
See Also:
Constant Field Values

CpCErrorCount

static final java.lang.String CpCErrorCount
See Also:
Constant Field Values

ProcessCount

static final java.lang.String ProcessCount
See Also:
Constant Field Values

IdleTime

static final java.lang.String IdleTime
See Also:
Constant Field Values

TotalDeserializeTime

static final java.lang.String TotalDeserializeTime
See Also:
Constant Field Values

TotalSerializeTime

static final java.lang.String TotalSerializeTime
See Also:
Constant Field Values

TotalAEProcessTime

static final java.lang.String TotalAEProcessTime
See Also:
Constant Field Values
Method Detail

addStatistic

void addStatistic(java.lang.String key,
                  Statistic aStatistic)

getStatistic

Statistic getStatistic(java.lang.String aComponentName,
                       java.lang.String aStatisticName)

getStatistics

Statistics getStatistics(java.lang.String aComponentName)

getLongNumericStatistic

LongNumericStatistic getLongNumericStatistic(java.lang.String aComponent,
                                             java.lang.String aStatisticName)

resetCountingStatistic

void resetCountingStatistic(java.lang.String aComponent,
                            java.lang.String aStatisticName)

incrementCount

void incrementCount(java.lang.String aComponent,
                    java.lang.String aStatisticName)

setThresholds

void setThresholds(java.util.Map aThresholdMap)

getThresholds

java.util.Map getThresholds()

componentMapSize

long componentMapSize()

thresholdMapSize

long thresholdMapSize()


Copyright © 2012. All Rights Reserved.