public interface MetricsRESTSource extends BaseSource
Modifier and Type | Field and Description |
---|---|
static String |
CONTEXT |
static String |
FAILED_DELETE_KEY |
static String |
FAILED_GET_KEY |
static String |
FAILED_PUT_KEY |
static String |
FAILED_SCAN_KEY |
static String |
JMX_CONTEXT |
static String |
METRICS_DESCRIPTION |
static String |
METRICS_NAME |
static String |
REQUEST_KEY |
static String |
SUCCESSFUL_DELETE_KEY |
static String |
SUCCESSFUL_GET_KEY |
static String |
SUCCESSFUL_PUT_KEY |
static String |
SUCCESSFUL_SCAN_KEY |
HBASE_METRICS_SYSTEM_NAME
Modifier and Type | Method and Description |
---|---|
void |
incrementFailedDeleteRequests(int inc)
Increment the number of failed Delete requests.
|
void |
incrementFailedGetRequests(int inc)
Increment the number of failed Get 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 requests
|
void |
incrementSucessfulDeleteRequests(int inc)
Increment the number of successful Delete requests.
|
void |
incrementSucessfulGetRequests(int inc)
Increment the number of successful Get requests.
|
void |
incrementSucessfulPutRequests(int inc)
Increment the number of successful Put requests.
|
void |
incrementSucessfulScanRequests(int inc)
Increment the number of successful scan requests.
|
decGauge, getMetricsContext, getMetricsDescription, getMetricsJmxContext, getMetricsName, incCounters, incGauge, init, removeMetric, setGauge, updateHistogram, updateQuantile
static final String METRICS_NAME
static final String CONTEXT
static final String JMX_CONTEXT
static final String METRICS_DESCRIPTION
static final String REQUEST_KEY
static final String SUCCESSFUL_GET_KEY
static final String SUCCESSFUL_PUT_KEY
static final String SUCCESSFUL_DELETE_KEY
static final String FAILED_GET_KEY
static final String FAILED_PUT_KEY
static final String FAILED_DELETE_KEY
static final String SUCCESSFUL_SCAN_KEY
static final String FAILED_SCAN_KEY
void incrementRequests(int inc)
inc
- Ammount to increment byvoid incrementSucessfulGetRequests(int inc)
inc
- Number of successful get requests.void incrementSucessfulPutRequests(int inc)
inc
- Number of successful put requests.void incrementSucessfulDeleteRequests(int inc)
inc
- void incrementFailedPutRequests(int inc)
inc
- Number of failed Put requests.void incrementFailedGetRequests(int inc)
inc
- The number of failed Get Requests.void incrementFailedDeleteRequests(int inc)
inc
- The number of failed delete requests.void incrementSucessfulScanRequests(int inc)
inc
- Number of successful scan requests.void incrementFailedScanRequests(int inc)
inc
- the incCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.