@InterfaceAudience.Public public interface RegionMetrics
Modifier and Type | Method and Description |
---|---|
long |
getBlocksLocalWeight()
Returns the data at local weight of this region in the regionserver
|
long |
getBlocksLocalWithSsdWeight()
Different from blocksLocalWeight,this metric's numerator only include the data stored on ssd
|
long |
getBlocksTotalWeight()
Returns the block total weight of this region
|
Size |
getBloomFilterSize()
Returns The total size of all Bloom filter blocks, not just loaded into the block cache
|
long |
getCompactedCellCount()
Returns the number of already compacted kvs in current compaction
|
long |
getCompactingCellCount()
Returns the total number of cells in current compaction
|
CompactionState |
getCompactionState()
Returns the compaction state of this region
|
long |
getCompletedSequenceId()
This does not really belong inside RegionLoad but its being done in the name of expediency.
|
float |
getDataLocality()
Returns the data locality of region in the regionserver.
|
float |
getDataLocalityForSsd()
Different from dataLocality,this metric's numerator only include the data stored on ssd
|
long |
getFilteredReadRequestCount()
Returns the number of filtered read requests made to region
|
long |
getLastMajorCompactionTimestamp()
Returns the timestamp of the oldest hfile for any store of this region.
|
int |
getMaxCompactedStoreFileRefCount()
Returns the max reference count for any store file among all compacted stores files of this
region
|
Size |
getMemStoreSize()
Returns the memstore size
|
default String |
getNameAsString()
Returns the region name as a string
|
long |
getReadRequestCount()
Returns the number of read requests made to region
|
byte[] |
getRegionName()
Returns the region name
|
default long |
getRequestCount()
Returns the number of write requests and read requests made to region
|
int |
getStoreCount()
Returns the number of stores
|
int |
getStoreFileCount()
Returns the number of storefiles
|
Size |
getStoreFileIndexSize()
TODO: why we pass the same value to different counters? Currently, the value from
getStoreFileIndexSize() is same with getStoreFileRootLevelIndexSize() see
HRegionServer#createRegionLoad.
|
Size |
getStoreFileRootLevelIndexSize()
Returns The current total size of root-level indexes for the region
|
Size |
getStoreFileSize()
Returns the total size of the storefiles
|
Size |
getStoreFileUncompressedDataIndexSize()
Returns The total size of all index blocks, not just the root level
|
int |
getStoreRefCount()
Returns the reference count for the stores of this region
|
Map<byte[],Long> |
getStoreSequenceId()
Returns completed sequence id per store.
|
Size |
getUncompressedStoreFileSize()
Returns the uncompressed size of the storefiles
|
long |
getWriteRequestCount()
Returns the number of write requests made to region
|
byte[] getRegionName()
int getStoreCount()
int getStoreFileCount()
Size getStoreFileSize()
Size getMemStoreSize()
long getReadRequestCount()
long getWriteRequestCount()
default long getRequestCount()
default String getNameAsString()
long getFilteredReadRequestCount()
Size getStoreFileIndexSize()
Size getStoreFileRootLevelIndexSize()
Size getStoreFileUncompressedDataIndexSize()
Size getBloomFilterSize()
long getCompactingCellCount()
long getCompactedCellCount()
long getCompletedSequenceId()
Map<byte[],Long> getStoreSequenceId()
Size getUncompressedStoreFileSize()
float getDataLocality()
long getLastMajorCompactionTimestamp()
int getStoreRefCount()
int getMaxCompactedStoreFileRefCount()
float getDataLocalityForSsd()
long getBlocksLocalWeight()
long getBlocksLocalWithSsdWeight()
long getBlocksTotalWeight()
CompactionState getCompactionState()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.