@InterfaceAudience.Private public final class RegionMetricsBuilder extends Object
Modifier and Type | Class and Description |
---|---|
private static class |
RegionMetricsBuilder.RegionMetricsImpl |
Modifier and Type | Field and Description |
---|---|
private long |
blocksLocalWeight |
private long |
blocksLocalWithSsdWeight |
private long |
blocksTotalWeight |
private Size |
bloomFilterSize |
private long |
compactedCellCount |
private long |
compactingCellCount |
private CompactionState |
compactionState |
private long |
completedSequenceId |
private float |
dataLocality |
private float |
dataLocalityForSsd |
private long |
filteredReadRequestCount |
private Size |
indexSize |
private long |
lastMajorCompactionTimestamp |
private int |
maxCompactedStoreFileRefCount |
private Size |
memStoreSize |
private byte[] |
name |
private long |
readRequestCount |
private Size |
rootLevelIndexSize |
private int |
storeCount |
private int |
storeFileCount |
private Size |
storeFileSize |
private int |
storeRefCount |
private Map<byte[],Long> |
storeSequenceIds |
private Size |
uncompressedDataIndexSize |
private Size |
uncompressedStoreFileSize |
private long |
writeRequestCount |
Modifier | Constructor and Description |
---|---|
private |
RegionMetricsBuilder(byte[] name) |
private final byte[] name
private int storeCount
private int storeFileCount
private int storeRefCount
private int maxCompactedStoreFileRefCount
private long compactingCellCount
private long compactedCellCount
private Size storeFileSize
private Size memStoreSize
private Size rootLevelIndexSize
private Size uncompressedDataIndexSize
private Size bloomFilterSize
private Size uncompressedStoreFileSize
private long writeRequestCount
private long readRequestCount
private long filteredReadRequestCount
private long completedSequenceId
private Map<byte[],Long> storeSequenceIds
private float dataLocality
private long lastMajorCompactionTimestamp
private float dataLocalityForSsd
private long blocksLocalWeight
private long blocksLocalWithSsdWeight
private long blocksTotalWeight
private CompactionState compactionState
private RegionMetricsBuilder(byte[] name)
public static List<RegionMetrics> toRegionMetrics(org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.GetRegionLoadResponse regionLoadResponse)
public 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)
public static org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.RegionLoad toRegionLoad(RegionMetrics regionMetrics)
public static RegionMetricsBuilder newBuilder(byte[] name)
public RegionMetricsBuilder setStoreCount(int value)
public RegionMetricsBuilder setStoreFileCount(int value)
public RegionMetricsBuilder setStoreRefCount(int value)
public RegionMetricsBuilder setMaxCompactedStoreFileRefCount(int value)
public RegionMetricsBuilder setCompactingCellCount(long value)
public RegionMetricsBuilder setCompactedCellCount(long value)
public RegionMetricsBuilder setStoreFileSize(Size value)
public RegionMetricsBuilder setMemStoreSize(Size value)
public RegionMetricsBuilder setStoreFileIndexSize(Size value)
public RegionMetricsBuilder setStoreFileRootLevelIndexSize(Size value)
public RegionMetricsBuilder setStoreFileUncompressedDataIndexSize(Size value)
public RegionMetricsBuilder setBloomFilterSize(Size value)
public RegionMetricsBuilder setUncompressedStoreFileSize(Size value)
public RegionMetricsBuilder setWriteRequestCount(long value)
public RegionMetricsBuilder setReadRequestCount(long value)
public RegionMetricsBuilder setFilteredReadRequestCount(long value)
public RegionMetricsBuilder setCompletedSequenceId(long value)
public RegionMetricsBuilder setStoreSequenceIds(Map<byte[],Long> value)
public RegionMetricsBuilder setDataLocality(float value)
public RegionMetricsBuilder setLastMajorCompactionTimestamp(long value)
public RegionMetricsBuilder setDataLocalityForSsd(float value)
public RegionMetricsBuilder setBlocksLocalWeight(long value)
public RegionMetricsBuilder setBlocksLocalWithSsdWeight(long value)
public RegionMetricsBuilder setBlocksTotalWeight(long value)
public RegionMetricsBuilder setCompactionState(CompactionState compactionState)
public RegionMetrics build()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.