Package org.apache.hadoop.hbase.rest
Interface MetricsRESTSource
- All Superinterfaces:
BaseSource
,JvmPauseMonitorSource
- All Known Implementing Classes:
MetricsRESTSourceImpl
Interface of the Metrics Source that will export data to Hadoop's Metrics2 system.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
Fields inherited from interface org.apache.hadoop.hbase.metrics.BaseSource
HBASE_METRICS_SYSTEM_NAME
Fields inherited from interface org.apache.hadoop.hbase.metrics.JvmPauseMonitorSource
INFO_THRESHOLD_COUNT_DESC, INFO_THRESHOLD_COUNT_KEY, PAUSE_TIME_WITH_GC_DESC, PAUSE_TIME_WITH_GC_KEY, PAUSE_TIME_WITHOUT_GC_DESC, PAUSE_TIME_WITHOUT_GC_KEY, WARN_THRESHOLD_COUNT_DESC, WARN_THRESHOLD_COUNT_KEY
-
Method Summary
Modifier and TypeMethodDescriptionvoid
incrementFailedAppendRequests
(int inc) Increment the number failed append requests.void
incrementFailedDeleteRequests
(int inc) Increment the number of failed Delete requests.void
incrementFailedGetRequests
(int inc) Increment the number of failed Get requests.void
incrementFailedIncrementRequests
(int inc) Increment the number failed increment requests.void
incrementFailedPutRequests
(int inc) Increment the number of failed Put Requests.void
incrementFailedScanRequests
(int inc) Increment the number failed scan requests.void
incrementRequests
(int inc) Increment the number of requestsvoid
incrementSucessfulAppendRequests
(int inc) Increment the number of successful append requests.void
incrementSucessfulDeleteRequests
(int inc) Increment the number of successful Delete requests.void
incrementSucessfulGetRequests
(int inc) Increment the number of successful Get requests.void
incrementSucessfulIncrementRequests
(int inc) Increment the number of successful increment requests.void
incrementSucessfulPutRequests
(int inc) Increment the number of successful Put requests.void
incrementSucessfulScanRequests
(int inc) Increment the number of successful scan requests.Methods inherited from interface org.apache.hadoop.hbase.metrics.BaseSource
decGauge, getMetricRegistryInfo, getMetricsContext, getMetricsDescription, getMetricsJmxContext, getMetricsName, incCounters, incGauge, init, removeMetric, setGauge, updateHistogram
Methods inherited from interface org.apache.hadoop.hbase.metrics.JvmPauseMonitorSource
incInfoThresholdExceeded, incWarnThresholdExceeded, updatePauseTimeWithGc, updatePauseTimeWithoutGc
-
Field Details
-
METRICS_NAME
- See Also:
-
CONTEXT
- See Also:
-
JMX_CONTEXT
- See Also:
-
METRICS_DESCRIPTION
- See Also:
-
REQUEST_KEY
- See Also:
-
SUCCESSFUL_GET_KEY
- See Also:
-
SUCCESSFUL_PUT_KEY
- See Also:
-
SUCCESSFUL_DELETE_KEY
- See Also:
-
FAILED_GET_KEY
- See Also:
-
FAILED_PUT_KEY
- See Also:
-
FAILED_DELETE_KEY
- See Also:
-
SUCCESSFUL_SCAN_KEY
- See Also:
-
FAILED_SCAN_KEY
- See Also:
-
SUCCESSFUL_APPEND_KEY
- See Also:
-
FAILED_APPEND_KEY
- See Also:
-
SUCCESSFUL_INCREMENT_KEY
- See Also:
-
FAILED_INCREMENT_KEY
- See Also:
-
-
Method Details
-
incrementRequests
Increment the number of requests- Parameters:
inc
- Ammount to increment by
-
incrementSucessfulGetRequests
Increment the number of successful Get requests.- Parameters:
inc
- Number of successful get requests.
-
incrementSucessfulPutRequests
Increment the number of successful Put requests.- Parameters:
inc
- Number of successful put requests.
-
incrementSucessfulDeleteRequests
Increment the number of successful Delete requests. -
incrementFailedPutRequests
Increment the number of failed Put Requests.- Parameters:
inc
- Number of failed Put requests.
-
incrementFailedGetRequests
Increment the number of failed Get requests.- Parameters:
inc
- The number of failed Get Requests.
-
incrementFailedDeleteRequests
Increment the number of failed Delete requests.- Parameters:
inc
- The number of failed delete requests.
-
incrementSucessfulScanRequests
Increment the number of successful scan requests.- Parameters:
inc
- Number of successful scan requests.
-
incrementFailedScanRequests
Increment the number failed scan requests.- Parameters:
inc
- Number of failed scan requests.
-
incrementSucessfulAppendRequests
Increment the number of successful append requests.- Parameters:
inc
- Number of successful append requests.
-
incrementFailedAppendRequests
Increment the number failed append requests.- Parameters:
inc
- Number of failed append requests.
-
incrementSucessfulIncrementRequests
Increment the number of successful increment requests.- Parameters:
inc
- Number of successful increment requests.
-
incrementFailedIncrementRequests
Increment the number failed increment requests.- Parameters:
inc
- Number of failed increment requests.
-