Class MetricsTableWrapperAggregateImpl
java.lang.Object
org.apache.hadoop.hbase.regionserver.MetricsTableWrapperAggregateImpl
- All Implemented Interfaces:
Closeable
,AutoCloseable
,MetricsTableWrapperAggregate
@Private
public class MetricsTableWrapperAggregateImpl
extends Object
implements MetricsTableWrapperAggregate, Closeable
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static class
class
-
Field Summary
Modifier and TypeFieldDescriptionprivate ScheduledExecutorService
private long
private final HRegionServer
private Runnable
private ScheduledFuture<?>
Fields inherited from interface org.apache.hadoop.hbase.regionserver.MetricsTableWrapperAggregate
HASH
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
long
getAvgRegionSize
(String table) Get the average region size for this tablelong
getAvgStoreFileAge
(String table) Returns Average age of store files for this tablelong
Returns count of requests which could have used bloom filters for this table, but they weren't configured or loaded.long
Returns count of bloom filter requests which return a negative result for this table.long
Returns count of bloom filter requests for this table.long
getCpRequestCount
(String table) long
getCpRequestsCount
(String table) Get the number of CoprocessorService requests that have been issued against this tablelong
Get the total number of filtered read requests that have been issued against this tablelong
getMaxStoreFileAge
(String table) Returns Max age of store files for this tablelong
getMaxStoreFiles
(String table) Get the max number of store files across all regions of this tableReturns number of row reads completely from memstore per store for this tablelong
getMemStoreSize
(String table) Get the memory store size against this tablelong
getMinStoreFileAge
(String table) Returns Min age of store files for this tablegetMixedRowReadsCount
(String table) Returns number of row reads from file and memstore per store for this tablelong
getNumReferenceFiles
(String table) Returns Number of reference files for this tablelong
getNumRegions
(String table) Get the number of regions hosted on for this tablelong
getNumStoreFiles
(String table) Get the number of store files hosted for this tablelong
getNumStores
(String table) Get the number of stores hosted on for this tablelong
getReadRequestCount
(String table) Get the number of read requests that have been issued against this tablelong
getStaticBloomSize
(String table) Returns the size of the static blooms for this tablelong
getStaticIndexSize
(String table) Returns the size of the static indexes for this tablelong
getStoreFileSize
(String table) Get the store file size against this tablelong
getTableSize
(String table) Get the table region size against this tablelong
getTotalRequestsCount
(String table) Get the total number of requests that have been issued for this tablelong
getWriteRequestCount
(String table) Get the number of write requests that have been issued for this table
-
Field Details
-
regionServer
-
executor
-
runnable
-
period
-
tableMetricsUpdateTask
-
metricsTableMap
-
-
Constructor Details
-
MetricsTableWrapperAggregateImpl
-
-
Method Details
-
getReadRequestCount
Description copied from interface:MetricsTableWrapperAggregate
Get the number of read requests that have been issued against this table- Specified by:
getReadRequestCount
in interfaceMetricsTableWrapperAggregate
-
getMemstoreOnlyRowReadsCount
Description copied from interface:MetricsTableWrapperAggregate
Returns number of row reads completely from memstore per store for this table- Specified by:
getMemstoreOnlyRowReadsCount
in interfaceMetricsTableWrapperAggregate
-
getMixedRowReadsCount
Description copied from interface:MetricsTableWrapperAggregate
Returns number of row reads from file and memstore per store for this table- Specified by:
getMixedRowReadsCount
in interfaceMetricsTableWrapperAggregate
-
getCpRequestsCount
Description copied from interface:MetricsTableWrapperAggregate
Get the number of CoprocessorService requests that have been issued against this table- Specified by:
getCpRequestsCount
in interfaceMetricsTableWrapperAggregate
-
getFilteredReadRequestCount
Description copied from interface:MetricsTableWrapperAggregate
Get the total number of filtered read requests that have been issued against this table- Specified by:
getFilteredReadRequestCount
in interfaceMetricsTableWrapperAggregate
-
getWriteRequestCount
Description copied from interface:MetricsTableWrapperAggregate
Get the number of write requests that have been issued for this table- Specified by:
getWriteRequestCount
in interfaceMetricsTableWrapperAggregate
-
getTotalRequestsCount
Description copied from interface:MetricsTableWrapperAggregate
Get the total number of requests that have been issued for this table- Specified by:
getTotalRequestsCount
in interfaceMetricsTableWrapperAggregate
-
getMemStoreSize
Description copied from interface:MetricsTableWrapperAggregate
Get the memory store size against this table- Specified by:
getMemStoreSize
in interfaceMetricsTableWrapperAggregate
-
getStoreFileSize
Description copied from interface:MetricsTableWrapperAggregate
Get the store file size against this table- Specified by:
getStoreFileSize
in interfaceMetricsTableWrapperAggregate
-
getTableSize
Description copied from interface:MetricsTableWrapperAggregate
Get the table region size against this table- Specified by:
getTableSize
in interfaceMetricsTableWrapperAggregate
-
getNumRegions
Description copied from interface:MetricsTableWrapperAggregate
Get the number of regions hosted on for this table- Specified by:
getNumRegions
in interfaceMetricsTableWrapperAggregate
-
getNumStores
Description copied from interface:MetricsTableWrapperAggregate
Get the number of stores hosted on for this table- Specified by:
getNumStores
in interfaceMetricsTableWrapperAggregate
-
getNumStoreFiles
Description copied from interface:MetricsTableWrapperAggregate
Get the number of store files hosted for this table- Specified by:
getNumStoreFiles
in interfaceMetricsTableWrapperAggregate
-
getMaxStoreFiles
Description copied from interface:MetricsTableWrapperAggregate
Get the max number of store files across all regions of this table- Specified by:
getMaxStoreFiles
in interfaceMetricsTableWrapperAggregate
-
getMaxStoreFileAge
Description copied from interface:MetricsTableWrapperAggregate
Returns Max age of store files for this table- Specified by:
getMaxStoreFileAge
in interfaceMetricsTableWrapperAggregate
-
getMinStoreFileAge
Description copied from interface:MetricsTableWrapperAggregate
Returns Min age of store files for this table- Specified by:
getMinStoreFileAge
in interfaceMetricsTableWrapperAggregate
-
getAvgStoreFileAge
Description copied from interface:MetricsTableWrapperAggregate
Returns Average age of store files for this table- Specified by:
getAvgStoreFileAge
in interfaceMetricsTableWrapperAggregate
-
getStaticIndexSize
Description copied from interface:MetricsTableWrapperAggregate
Returns the size of the static indexes for this table- Specified by:
getStaticIndexSize
in interfaceMetricsTableWrapperAggregate
-
getStaticBloomSize
Description copied from interface:MetricsTableWrapperAggregate
Returns the size of the static blooms for this table- Specified by:
getStaticBloomSize
in interfaceMetricsTableWrapperAggregate
-
getBloomFilterRequestsCount
Description copied from interface:MetricsTableWrapperAggregate
Returns count of bloom filter requests for this table.- Specified by:
getBloomFilterRequestsCount
in interfaceMetricsTableWrapperAggregate
-
getBloomFilterNegativeResultsCount
Description copied from interface:MetricsTableWrapperAggregate
Returns count of bloom filter requests which return a negative result for this table.- Specified by:
getBloomFilterNegativeResultsCount
in interfaceMetricsTableWrapperAggregate
-
getBloomFilterEligibleRequestsCount
Description copied from interface:MetricsTableWrapperAggregate
Returns count of requests which could have used bloom filters for this table, but they weren't configured or loaded.- Specified by:
getBloomFilterEligibleRequestsCount
in interfaceMetricsTableWrapperAggregate
-
getNumReferenceFiles
Description copied from interface:MetricsTableWrapperAggregate
Returns Number of reference files for this table- Specified by:
getNumReferenceFiles
in interfaceMetricsTableWrapperAggregate
-
getAvgRegionSize
Description copied from interface:MetricsTableWrapperAggregate
Get the average region size for this table- Specified by:
getAvgRegionSize
in interfaceMetricsTableWrapperAggregate
-
getCpRequestCount
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-