org.apache.hadoop.hbase.metrics
Interface JvmPauseMonitorSource

All Known Subinterfaces:
MetricsMasterSource, MetricsRegionServerSource, MetricsRESTSource, MetricsThriftServerSource
All Known Implementing Classes:
MetricsMasterSourceImpl, MetricsRegionServerSourceImpl, MetricsRESTSourceImpl, MetricsThriftServerSourceImpl

public interface JvmPauseMonitorSource

Interface for sources that will export JvmPauseMonitor metrics


Field Summary
static String INFO_THRESHOLD_COUNT_DESC
           
static String INFO_THRESHOLD_COUNT_KEY
           
static String PAUSE_TIME_WITH_GC_DESC
           
static String PAUSE_TIME_WITH_GC_KEY
           
static String PAUSE_TIME_WITHOUT_GC_DESC
           
static String PAUSE_TIME_WITHOUT_GC_KEY
           
static String WARN_THRESHOLD_COUNT_DESC
           
static String WARN_THRESHOLD_COUNT_KEY
           
 
Method Summary
 void incInfoThresholdExceeded(int count)
          Increment the INFO level threshold exceeded count
 void incWarnThresholdExceeded(int count)
          Increment the WARN level threshold exceeded count
 void updatePauseTimeWithGc(long t)
          Update the pause time histogram where GC activity was detected.
 void updatePauseTimeWithoutGc(long t)
          Update the pause time histogram where GC activity was not detected.
 

Field Detail

INFO_THRESHOLD_COUNT_KEY

static final String INFO_THRESHOLD_COUNT_KEY
See Also:
Constant Field Values

INFO_THRESHOLD_COUNT_DESC

static final String INFO_THRESHOLD_COUNT_DESC
See Also:
Constant Field Values

WARN_THRESHOLD_COUNT_KEY

static final String WARN_THRESHOLD_COUNT_KEY
See Also:
Constant Field Values

WARN_THRESHOLD_COUNT_DESC

static final String WARN_THRESHOLD_COUNT_DESC
See Also:
Constant Field Values

PAUSE_TIME_WITH_GC_KEY

static final String PAUSE_TIME_WITH_GC_KEY
See Also:
Constant Field Values

PAUSE_TIME_WITH_GC_DESC

static final String PAUSE_TIME_WITH_GC_DESC
See Also:
Constant Field Values

PAUSE_TIME_WITHOUT_GC_KEY

static final String PAUSE_TIME_WITHOUT_GC_KEY
See Also:
Constant Field Values

PAUSE_TIME_WITHOUT_GC_DESC

static final String PAUSE_TIME_WITHOUT_GC_DESC
See Also:
Constant Field Values
Method Detail

incInfoThresholdExceeded

void incInfoThresholdExceeded(int count)
Increment the INFO level threshold exceeded count

Parameters:
count - the count

incWarnThresholdExceeded

void incWarnThresholdExceeded(int count)
Increment the WARN level threshold exceeded count

Parameters:
count - the count

updatePauseTimeWithGc

void updatePauseTimeWithGc(long t)
Update the pause time histogram where GC activity was detected.

Parameters:
t - time it took

updatePauseTimeWithoutGc

void updatePauseTimeWithoutGc(long t)
Update the pause time histogram where GC activity was not detected.

Parameters:
t - time it took


Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.