@InterfaceAudience.Private public interface MetricsTableQueryMeter
Modifier and Type | Field and Description |
---|---|
static String |
TABLE_READ_QUERY_PER_SECOND |
static String |
TABLE_WRITE_QUERY_PER_SECOND |
Modifier and Type | Method and Description |
---|---|
void |
updateTableReadQueryMeter(TableName tableName)
Update table read QPS
|
void |
updateTableReadQueryMeter(TableName tableName,
long count)
Update table read QPS
|
void |
updateTableWriteQueryMeter(TableName tableName)
Update table write QPS
|
void |
updateTableWriteQueryMeter(TableName tableName,
long count)
Update table write QPS
|
static final String TABLE_READ_QUERY_PER_SECOND
static final String TABLE_WRITE_QUERY_PER_SECOND
void updateTableReadQueryMeter(TableName tableName, long count)
tableName
- The table the metric is forcount
- Number of occurrences to recordvoid updateTableReadQueryMeter(TableName tableName)
tableName
- The table the metric is forvoid updateTableWriteQueryMeter(TableName tableName, long count)
tableName
- The table the metric is forcount
- Number of occurrences to recordvoid updateTableWriteQueryMeter(TableName tableName)
tableName
- The table the metric is forCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.