@InterfaceAudience.Private public class MetricsTableSourceImpl extends Object implements MetricsTableSource
MEMSTORE_SIZE, MEMSTORE_SIZE_DESC, READ_REQUEST_COUNT, READ_REQUEST_COUNT_DESC, STORE_FILE_SIZE, STORE_FILE_SIZE_DESC, TABLE_SIZE, TABLE_SIZE_DESC, TOTAL_REQUEST_COUNT, TOTAL_REQUEST_COUNT_DESC, WRITE_REQUEST_COUNT, WRITE_REQUEST_COUNT_DESC
Constructor and Description |
---|
MetricsTableSourceImpl(String tblName,
MetricsTableAggregateSourceImpl aggregate,
MetricsTableWrapperAggregate tblWrapperAgg) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Close the table's metrics as all the region are closing.
|
int |
compareTo(MetricsTableSource source) |
boolean |
equals(Object o) |
MetricsTableAggregateSource |
getAggregateSource()
Get the aggregate source to which this reports.
|
String |
getTableName() |
String |
getTableNamePrefix() |
MetricsTableWrapperAggregate |
getTableWrapper() |
int |
hashCode() |
public MetricsTableSourceImpl(String tblName, MetricsTableAggregateSourceImpl aggregate, MetricsTableWrapperAggregate tblWrapperAgg)
public void close()
MetricsTableSource
close
in interface MetricsTableSource
public MetricsTableAggregateSource getAggregateSource()
MetricsTableSource
getAggregateSource
in interface MetricsTableSource
public int compareTo(MetricsTableSource source)
compareTo
in interface Comparable<MetricsTableSource>
public String getTableName()
getTableName
in interface MetricsTableSource
public MetricsTableWrapperAggregate getTableWrapper()
public String getTableNamePrefix()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.