@InterfaceAudience.Private
public interface MetricsTableLatencies
Modifier and Type | Field and Description |
---|---|
static String |
APPEND_TIME |
static String |
DELETE_BATCH_TIME |
static String |
DELETE_TIME |
static String |
GET_TIME |
static String |
INCREMENT_TIME |
static String |
METRICS_CONTEXT
The name of the metrics context that metrics will be under.
|
static String |
METRICS_DESCRIPTION
Description
|
static String |
METRICS_JMX_CONTEXT
The name of the metrics context that metrics will be under in jmx
|
static String |
METRICS_NAME
The name of the metrics
|
static String |
PUT_BATCH_TIME |
static String |
PUT_TIME |
static String |
SCAN_SIZE |
static String |
SCAN_TIME |
Modifier and Type | Method and Description |
---|---|
void |
updateAppend(String tableName,
long t)
Update the Append time histogram.
|
void |
updateDelete(String tableName,
long t)
Update the Delete time histogram
|
void |
updateDeleteBatch(String tableName,
long t)
Update the batch Delete time histogram
|
void |
updateGet(String tableName,
long t)
Update the Get time histogram .
|
void |
updateIncrement(String tableName,
long t)
Update the Increment time histogram.
|
void |
updatePut(String tableName,
long t)
Update the Put time histogram
|
void |
updatePutBatch(String tableName,
long t)
Update the batch Put time histogram
|
void |
updateScanSize(String tableName,
long scanSize)
Update the scan size.
|
void |
updateScanTime(String tableName,
long t)
Update the scan time.
|
static final String METRICS_NAME
static final String METRICS_CONTEXT
static final String METRICS_DESCRIPTION
static final String METRICS_JMX_CONTEXT
static final String GET_TIME
static final String SCAN_TIME
static final String SCAN_SIZE
static final String PUT_TIME
static final String PUT_BATCH_TIME
static final String DELETE_TIME
static final String DELETE_BATCH_TIME
static final String INCREMENT_TIME
static final String APPEND_TIME
void updatePut(String tableName, long t)
tableName
- The table the metric is fort
- time it tookvoid updatePutBatch(String tableName, long t)
tableName
- The table the metric is fort
- time it tookvoid updateDelete(String tableName, long t)
tableName
- The table the metric is fort
- time it tookvoid updateDeleteBatch(String tableName, long t)
tableName
- The table the metric is fort
- time it tookvoid updateGet(String tableName, long t)
tableName
- The table the metric is fort
- time it tookvoid updateIncrement(String tableName, long t)
tableName
- The table the metric is fort
- time it tookvoid updateAppend(String tableName, long t)
tableName
- The table the metric is fort
- time it tookvoid updateScanSize(String tableName, long scanSize)
tableName
- The table the metric is forscanSize
- size of the scanvoid updateScanTime(String tableName, long t)
tableName
- The table the metric is fort
- time it tookCopyright © 2007–2019 Cloudera. All rights reserved.