@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 Size |
bloomFilterSize |
private long |
compactedCellCount |
private long |
compactingCellCount |
private long |
completedSequenceId |
private float |
dataLocality |
private long |
filteredReadRequestCount |
private Size |
indexSize |
private long |
lastMajorCompactionTimestamp |
private Size |
memStoreSize |
private byte[] |
name |
private long |
readRequestCount |
private Size |
rootLevelIndexSize |
private int |
storeCount |
private int |
storeFileCount |
private Size |
storeFileSize |
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 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 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 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 RegionMetrics build()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.