@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(boolean enableTableQueryMeter) |
Modifier and Type | Method and Description |
---|---|
void |
updateAppend(TableName table,
long time) |
void |
updateCheckAndDelete(TableName table,
long time) |
void |
updateCheckAndMutate(TableName table,
long time) |
void |
updateCheckAndPut(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,
long count) |
void |
updateTableWriteQueryMeter(TableName table) |
void |
updateTableWriteQueryMeter(TableName table,
long count) |
private final MetricsTableLatencies latencies
private MetricsTableQueryMeter queryMeter
public RegionServerTableMetrics(boolean enableTableQueryMeter)
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 updateCheckAndDelete(TableName table, long time)
public void updateCheckAndPut(TableName table, long time)
public void updateCheckAndMutate(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 updateTableWriteQueryMeter(TableName table, long count)
public void updateTableWriteQueryMeter(TableName table)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.