@InterfaceAudience.Private public class MetricsTableSourceImpl extends Object implements MetricsTableSource
TABLE_SIZE, TABLE_SIZE_DESC| Constructor and Description |
|---|
MetricsTableSourceImpl(String tblName,
MetricsTableAggregateSourceImpl aggregate,
MetricsTableWrapperAggregate tblWrapperAgg) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
compareTo(MetricsTableSource source) |
boolean |
equals(Object o) |
MetricsTableAggregateSource |
getAggregateSource() |
String |
getTableName() |
String |
getTableNamePrefix() |
MetricsTableWrapperAggregate |
getTableWrapper() |
int |
hashCode() |
void |
incrSplitRequest() |
void |
incrSplitSuccess() |
void |
registerMetrics() |
void |
updateCompactionInputFileCount(boolean isMajor,
long c) |
void |
updateCompactionInputSize(boolean isMajor,
long bytes) |
void |
updateCompactionOutputFileCount(boolean isMajor,
long c) |
void |
updateCompactionOutputSize(boolean isMajor,
long bytes) |
void |
updateCompactionTime(boolean isMajor,
long t) |
void |
updateFlushMemstoreSize(long bytes) |
void |
updateFlushOutputSize(long bytes) |
void |
updateFlushTime(long t) |
void |
updateSplitTime(long t) |
public MetricsTableSourceImpl(String tblName, MetricsTableAggregateSourceImpl aggregate, MetricsTableWrapperAggregate tblWrapperAgg)
public void registerMetrics()
registerMetrics in interface MetricsTableSourcepublic void close()
close in interface Closeableclose in interface AutoCloseableclose in interface MetricsTableSourcepublic MetricsTableAggregateSource getAggregateSource()
getAggregateSource in interface MetricsTableSourcepublic int compareTo(MetricsTableSource source)
compareTo in interface Comparable<MetricsTableSource>public String getTableName()
getTableName in interface MetricsTableSourcepublic MetricsTableWrapperAggregate getTableWrapper()
public String getTableNamePrefix()
public void incrSplitRequest()
incrSplitRequest in interface MetricsTableSourcepublic void incrSplitSuccess()
incrSplitSuccess in interface MetricsTableSourcepublic void updateSplitTime(long t)
updateSplitTime in interface MetricsTableSourcepublic void updateFlushTime(long t)
updateFlushTime in interface MetricsTableSourcepublic void updateFlushMemstoreSize(long bytes)
updateFlushMemstoreSize in interface MetricsTableSourcepublic void updateFlushOutputSize(long bytes)
updateFlushOutputSize in interface MetricsTableSourcepublic void updateCompactionTime(boolean isMajor,
long t)
updateCompactionTime in interface MetricsTableSourcepublic void updateCompactionInputFileCount(boolean isMajor,
long c)
updateCompactionInputFileCount in interface MetricsTableSourcepublic void updateCompactionInputSize(boolean isMajor,
long bytes)
updateCompactionInputSize in interface MetricsTableSourcepublic void updateCompactionOutputFileCount(boolean isMajor,
long c)
updateCompactionOutputFileCount in interface MetricsTableSourcepublic void updateCompactionOutputSize(boolean isMajor,
long bytes)
updateCompactionOutputSize in interface MetricsTableSourceCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.