Package org.apache.hadoop.hbase
Class RegionMetricsBuilder
java.lang.Object
org.apache.hadoop.hbase.RegionMetricsBuilder
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate long
private long
private long
private Size
private long
private long
private CompactionState
private long
private long
private float
private float
private float
private long
private Size
private long
private int
private Size
private final byte[]
private long
private Size
private Size
private int
private int
private Size
private int
private Size
private Size
private long
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static RegionMetricsBuilder
newBuilder
(byte[] name) setBlocksLocalWeight
(long value) setBlocksLocalWithSsdWeight
(long value) setBlocksTotalWeight
(long value) setBloomFilterSize
(Size value) setCompactedCellCount
(long value) setCompactingCellCount
(long value) setCompactionState
(CompactionState compactionState) setCompletedSequenceId
(long value) setCpRequestCount
(long value) setCurrentRegionCachedRatio
(float value) setDataLocality
(float value) setDataLocalityForSsd
(float value) setFilteredReadRequestCount
(long value) setLastMajorCompactionTimestamp
(long value) setMaxCompactedStoreFileRefCount
(int value) setMemStoreSize
(Size value) setReadRequestCount
(long value) setRegionSizeMB
(Size value) setStoreCount
(int value) setStoreFileCount
(int value) setStoreFileIndexSize
(Size value) setStoreFileSize
(Size value) setStoreRefCount
(int value) setStoreSequenceIds
(Map<byte[], Long> value) setUncompressedStoreFileSize
(Size value) setWriteRequestCount
(long value) static org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.RegionLoad
toRegionLoad
(RegionMetrics regionMetrics) static List<RegionMetrics>
toRegionMetrics
(org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.GetRegionLoadResponse regionLoadResponse) static RegionMetrics
toRegionMetrics
(org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.RegionLoad regionLoadPB) private static List<org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.StoreSequenceId>
toStoreSequenceId
(Map<byte[], Long> ids)
-
Field Details
-
name
-
storeCount
-
storeFileCount
-
storeRefCount
-
maxCompactedStoreFileRefCount
-
compactingCellCount
-
compactedCellCount
-
storeFileSize
-
memStoreSize
-
indexSize
-
rootLevelIndexSize
-
uncompressedDataIndexSize
-
bloomFilterSize
-
uncompressedStoreFileSize
-
writeRequestCount
-
readRequestCount
-
cpRequestCount
-
filteredReadRequestCount
-
completedSequenceId
-
storeSequenceIds
-
dataLocality
-
lastMajorCompactionTimestamp
-
dataLocalityForSsd
-
blocksLocalWeight
-
blocksLocalWithSsdWeight
-
blocksTotalWeight
-
compactionState
-
regionSizeMB
-
currentRegionCachedRatio
-
-
Constructor Details
-
RegionMetricsBuilder
-
-
Method Details
-
toRegionMetrics
public static List<RegionMetrics> toRegionMetrics(org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.GetRegionLoadResponse regionLoadResponse) -
toRegionMetrics
public static RegionMetrics toRegionMetrics(org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.RegionLoad regionLoadPB) -
toStoreSequenceId
private static List<org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.StoreSequenceId> toStoreSequenceId(Map<byte[], Long> ids) -
toRegionLoad
public static org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.RegionLoad toRegionLoad(RegionMetrics regionMetrics) -
newBuilder
-
setStoreCount
-
setStoreFileCount
-
setStoreRefCount
-
setMaxCompactedStoreFileRefCount
-
setCompactingCellCount
-
setCompactedCellCount
-
setStoreFileSize
-
setMemStoreSize
-
setStoreFileIndexSize
-
setStoreFileRootLevelIndexSize
-
setStoreFileUncompressedDataIndexSize
-
setBloomFilterSize
-
setUncompressedStoreFileSize
-
setWriteRequestCount
-
setReadRequestCount
-
setCpRequestCount
-
setFilteredReadRequestCount
-
setCompletedSequenceId
-
setStoreSequenceIds
-
setDataLocality
-
setLastMajorCompactionTimestamp
-
setDataLocalityForSsd
-
setBlocksLocalWeight
-
setBlocksLocalWithSsdWeight
-
setBlocksTotalWeight
-
setCompactionState
-
setRegionSizeMB
-
setCurrentRegionCachedRatio
-
build
-