@InterfaceAudience.Private public interface MetricsTableSource extends Comparable<MetricsTableSource>, Closeable
| Modifier and Type | Field and Description | 
|---|---|
| static String | TABLE_SIZE | 
| static String | TABLE_SIZE_DESC | 
| Modifier and Type | Method and Description | 
|---|---|
| void | close()Close the table's metrics as all the region are closing. | 
| MetricsTableAggregateSource | getAggregateSource()Get the aggregate source to which this reports. | 
| String | getTableName() | 
| void | incrSplitRequest()Increment number of a requested splits | 
| void | incrSplitSuccess()Increment number of successful splits | 
| void | registerMetrics() | 
| void | updateCompactionInputFileCount(boolean isMajor,
                              long c)Update the compaction input number of files histogram | 
| void | updateCompactionInputSize(boolean isMajor,
                         long bytes)Update the compaction total input file size histogram | 
| void | updateCompactionOutputFileCount(boolean isMajor,
                               long c)Update the compaction output number of files histogram | 
| void | updateCompactionOutputSize(boolean isMajor,
                          long bytes)Update the compaction total output file size | 
| void | updateCompactionTime(boolean isMajor,
                    long t)Update the compaction time histogram, both major and minor | 
| void | updateFlushMemstoreSize(long bytes)Update the flush memstore size histogram | 
| void | updateFlushOutputSize(long bytes)Update the flush output file size histogram | 
| void | updateFlushTime(long t)Update the flush time histogram | 
| void | updateSplitTime(long t)Update the split transaction time histogram | 
compareTostatic final String TABLE_SIZE
static final String TABLE_SIZE_DESC
String getTableName()
void close()
close in interface AutoCloseableclose in interface Closeablevoid registerMetrics()
MetricsTableAggregateSource getAggregateSource()
void updateSplitTime(long t)
t - time it took, in millisecondsvoid incrSplitRequest()
void incrSplitSuccess()
void updateFlushTime(long t)
t - time it took, in millisecondsvoid updateFlushMemstoreSize(long bytes)
bytes - the number of bytes in the memstorevoid updateFlushOutputSize(long bytes)
bytes - the number of bytes in the output filevoid updateCompactionTime(boolean isMajor, long t)
isMajor - whether compaction is a major compactiont - time it took, in millisecondsvoid updateCompactionInputFileCount(boolean isMajor, long c)
isMajor - whether compaction is a major compactionc - number of filesvoid updateCompactionInputSize(boolean isMajor, long bytes)
isMajor - whether compaction is a major compactionbytes - the number of bytes of the compaction input filevoid updateCompactionOutputFileCount(boolean isMajor, long c)
isMajor - whether compaction is a major compactionc - number of filesvoid updateCompactionOutputSize(boolean isMajor, long bytes)
isMajor - whether compaction is a major compactionbytes - the number of bytes of the compaction input fileCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.