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
Nested ClassesModifier and TypeClassDescriptionprivate static classclass -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ScheduledExecutorServiceprivate longprivate final HRegionServerprivate Runnableprivate ScheduledFuture<?>Fields inherited from interface org.apache.hadoop.hbase.regionserver.MetricsTableWrapperAggregate
HASH -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()longgetAvgRegionSize(String table) Get the average region size for this tablelonggetAvgStoreFileAge(String table) Returns Average age of store files for this tablelongReturns count of requests which could have used bloom filters for this table, but they weren't configured or loaded.longReturns count of bloom filter requests which return a negative result for this table.longReturns count of bloom filter requests for this table.longgetCpRequestCount(String table) longgetCpRequestsCount(String table) Get the number of CoprocessorService requests that have been issued against this tablelongGet the total number of filtered read requests that have been issued against this tablelonggetMaxStoreFileAge(String table) Returns Max age of store files for this tablelonggetMaxStoreFiles(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 tablelonggetMemStoreSize(String table) Get the memory store size against this tablelonggetMinStoreFileAge(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 tablelonggetNumReferenceFiles(String table) Returns Number of reference files for this tablelonggetNumRegions(String table) Get the number of regions hosted on for this tablelonggetNumStoreFiles(String table) Get the number of store files hosted for this tablelonggetNumStores(String table) Get the number of stores hosted on for this tablelonggetReadRequestCount(String table) Get the number of read requests that have been issued against this tablelonggetStaticBloomSize(String table) Returns the size of the static blooms for this tablelonggetStaticIndexSize(String table) Returns the size of the static indexes for this tablelonggetStoreFileSize(String table) Get the store file size against this tablelonggetTableSize(String table) Get the table region size against this tablelonggetTotalRequestsCount(String table) Get the total number of requests that have been issued for this tablelonggetWriteRequestCount(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:MetricsTableWrapperAggregateGet the number of read requests that have been issued against this table- Specified by:
getReadRequestCountin interfaceMetricsTableWrapperAggregate
-
getMemstoreOnlyRowReadsCount
Description copied from interface:MetricsTableWrapperAggregateReturns number of row reads completely from memstore per store for this table- Specified by:
getMemstoreOnlyRowReadsCountin interfaceMetricsTableWrapperAggregate
-
getMixedRowReadsCount
Description copied from interface:MetricsTableWrapperAggregateReturns number of row reads from file and memstore per store for this table- Specified by:
getMixedRowReadsCountin interfaceMetricsTableWrapperAggregate
-
getCpRequestsCount
Description copied from interface:MetricsTableWrapperAggregateGet the number of CoprocessorService requests that have been issued against this table- Specified by:
getCpRequestsCountin interfaceMetricsTableWrapperAggregate
-
getFilteredReadRequestCount
Description copied from interface:MetricsTableWrapperAggregateGet the total number of filtered read requests that have been issued against this table- Specified by:
getFilteredReadRequestCountin interfaceMetricsTableWrapperAggregate
-
getWriteRequestCount
Description copied from interface:MetricsTableWrapperAggregateGet the number of write requests that have been issued for this table- Specified by:
getWriteRequestCountin interfaceMetricsTableWrapperAggregate
-
getTotalRequestsCount
Description copied from interface:MetricsTableWrapperAggregateGet the total number of requests that have been issued for this table- Specified by:
getTotalRequestsCountin interfaceMetricsTableWrapperAggregate
-
getMemStoreSize
Description copied from interface:MetricsTableWrapperAggregateGet the memory store size against this table- Specified by:
getMemStoreSizein interfaceMetricsTableWrapperAggregate
-
getStoreFileSize
Description copied from interface:MetricsTableWrapperAggregateGet the store file size against this table- Specified by:
getStoreFileSizein interfaceMetricsTableWrapperAggregate
-
getTableSize
Description copied from interface:MetricsTableWrapperAggregateGet the table region size against this table- Specified by:
getTableSizein interfaceMetricsTableWrapperAggregate
-
getNumRegions
Description copied from interface:MetricsTableWrapperAggregateGet the number of regions hosted on for this table- Specified by:
getNumRegionsin interfaceMetricsTableWrapperAggregate
-
getNumStores
Description copied from interface:MetricsTableWrapperAggregateGet the number of stores hosted on for this table- Specified by:
getNumStoresin interfaceMetricsTableWrapperAggregate
-
getNumStoreFiles
Description copied from interface:MetricsTableWrapperAggregateGet the number of store files hosted for this table- Specified by:
getNumStoreFilesin interfaceMetricsTableWrapperAggregate
-
getMaxStoreFiles
Description copied from interface:MetricsTableWrapperAggregateGet the max number of store files across all regions of this table- Specified by:
getMaxStoreFilesin interfaceMetricsTableWrapperAggregate
-
getMaxStoreFileAge
Description copied from interface:MetricsTableWrapperAggregateReturns Max age of store files for this table- Specified by:
getMaxStoreFileAgein interfaceMetricsTableWrapperAggregate
-
getMinStoreFileAge
Description copied from interface:MetricsTableWrapperAggregateReturns Min age of store files for this table- Specified by:
getMinStoreFileAgein interfaceMetricsTableWrapperAggregate
-
getAvgStoreFileAge
Description copied from interface:MetricsTableWrapperAggregateReturns Average age of store files for this table- Specified by:
getAvgStoreFileAgein interfaceMetricsTableWrapperAggregate
-
getStaticIndexSize
Description copied from interface:MetricsTableWrapperAggregateReturns the size of the static indexes for this table- Specified by:
getStaticIndexSizein interfaceMetricsTableWrapperAggregate
-
getStaticBloomSize
Description copied from interface:MetricsTableWrapperAggregateReturns the size of the static blooms for this table- Specified by:
getStaticBloomSizein interfaceMetricsTableWrapperAggregate
-
getBloomFilterRequestsCount
Description copied from interface:MetricsTableWrapperAggregateReturns count of bloom filter requests for this table.- Specified by:
getBloomFilterRequestsCountin interfaceMetricsTableWrapperAggregate
-
getBloomFilterNegativeResultsCount
Description copied from interface:MetricsTableWrapperAggregateReturns count of bloom filter requests which return a negative result for this table.- Specified by:
getBloomFilterNegativeResultsCountin interfaceMetricsTableWrapperAggregate
-
getBloomFilterEligibleRequestsCount
Description copied from interface:MetricsTableWrapperAggregateReturns count of requests which could have used bloom filters for this table, but they weren't configured or loaded.- Specified by:
getBloomFilterEligibleRequestsCountin interfaceMetricsTableWrapperAggregate
-
getNumReferenceFiles
Description copied from interface:MetricsTableWrapperAggregateReturns Number of reference files for this table- Specified by:
getNumReferenceFilesin interfaceMetricsTableWrapperAggregate
-
getAvgRegionSize
Description copied from interface:MetricsTableWrapperAggregateGet the average region size for this table- Specified by:
getAvgRegionSizein interfaceMetricsTableWrapperAggregate
-
getCpRequestCount
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-