@InterfaceAudience.Private public class RegionServerTableMetrics extends Object
MetricsRegionServer
for encapsulation and ease of testing.Modifier and Type | Field and Description |
---|---|
private MetricsTableLatencies |
latencies |
private MetricsTableQueryMeter |
queryMeter |
Constructor and Description |
---|
RegionServerTableMetrics() |
Modifier and Type | Method and Description |
---|---|
void |
updateAppend(TableName table,
long time) |
void |
updateDelete(TableName table,
long time) |
void |
updateDeleteBatch(TableName table,
long time) |
void |
updateGet(TableName table,
long time) |
void |
updateIncrement(TableName table,
long time) |
void |
updatePut(TableName table,
long time) |
void |
updatePutBatch(TableName table,
long time) |
void |
updateScanSize(TableName table,
long size) |
void |
updateScanTime(TableName table,
long time) |
void |
updateTableReadQueryMeter(TableName table) |
void |
updateTableReadQueryMeter(TableName table,
long count) |
void |
updateTableWriteQueryMeter(TableName table) |
void |
updateTableWriteQueryMeter(TableName table,
long count) |
private final MetricsTableLatencies latencies
private final MetricsTableQueryMeter queryMeter
public RegionServerTableMetrics()
public void updatePutBatch(TableName table, long time)
public void updateIncrement(TableName table, long time)
public void updateAppend(TableName table, long time)
public void updateDelete(TableName table, long time)
public void updateDeleteBatch(TableName table, long time)
public void updateScanTime(TableName table, long time)
public void updateScanSize(TableName table, long size)
public void updateTableReadQueryMeter(TableName table, long count)
public void updateTableReadQueryMeter(TableName table)
public void updateTableWriteQueryMeter(TableName table, long count)
public void updateTableWriteQueryMeter(TableName table)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.