private static class RegionMetricsBuilder.RegionMetricsImpl extends Object implements RegionMetrics
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 |
Constructor and Description |
---|
RegionMetricsImpl(byte[] name,
int storeCount,
int storeFileCount,
long compactingCellCount,
long compactedCellCount,
Size storeFileSize,
Size memStoreSize,
Size indexSize,
Size rootLevelIndexSize,
Size uncompressedDataIndexSize,
Size bloomFilterSize,
Size uncompressedStoreFileSize,
long writeRequestCount,
long readRequestCount,
long filteredReadRequestCount,
long completedSequenceId,
Map<byte[],Long> storeSequenceIds,
float dataLocality,
long lastMajorCompactionTimestamp) |
Modifier and Type | Method and Description |
---|---|
Size |
getBloomFilterSize() |
long |
getCompactedCellCount() |
long |
getCompactingCellCount() |
long |
getCompletedSequenceId()
This does not really belong inside RegionLoad but its being done in the name of expediency.
|
float |
getDataLocality() |
long |
getFilteredReadRequestCount() |
long |
getLastMajorCompactionTimestamp() |
Size |
getMemStoreSize() |
long |
getReadRequestCount() |
byte[] |
getRegionName() |
int |
getStoreCount() |
int |
getStoreFileCount() |
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() |
Size |
getStoreFileSize() |
Size |
getStoreFileUncompressedDataIndexSize() |
Map<byte[],Long> |
getStoreSequenceId() |
Size |
getUncompressedStoreFileSize() |
long |
getWriteRequestCount() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getNameAsString, getRequestCount
private final byte[] name
private final int storeCount
private final int storeFileCount
private final long compactingCellCount
private final long compactedCellCount
private final Size storeFileSize
private final Size memStoreSize
private final Size rootLevelIndexSize
private final Size uncompressedDataIndexSize
private final Size bloomFilterSize
private final Size uncompressedStoreFileSize
private final long writeRequestCount
private final long readRequestCount
private final long filteredReadRequestCount
private final long completedSequenceId
private final Map<byte[],Long> storeSequenceIds
private final float dataLocality
private final long lastMajorCompactionTimestamp
RegionMetricsImpl(byte[] name, int storeCount, int storeFileCount, long compactingCellCount, long compactedCellCount, Size storeFileSize, Size memStoreSize, Size indexSize, Size rootLevelIndexSize, Size uncompressedDataIndexSize, Size bloomFilterSize, Size uncompressedStoreFileSize, long writeRequestCount, long readRequestCount, long filteredReadRequestCount, long completedSequenceId, Map<byte[],Long> storeSequenceIds, float dataLocality, long lastMajorCompactionTimestamp)
public byte[] getRegionName()
getRegionName
in interface RegionMetrics
public int getStoreCount()
getStoreCount
in interface RegionMetrics
public int getStoreFileCount()
getStoreFileCount
in interface RegionMetrics
public Size getStoreFileSize()
getStoreFileSize
in interface RegionMetrics
public Size getMemStoreSize()
getMemStoreSize
in interface RegionMetrics
public long getReadRequestCount()
getReadRequestCount
in interface RegionMetrics
public long getFilteredReadRequestCount()
getFilteredReadRequestCount
in interface RegionMetrics
public long getWriteRequestCount()
getWriteRequestCount
in interface RegionMetrics
public Size getStoreFileIndexSize()
RegionMetrics
getStoreFileIndexSize
in interface RegionMetrics
public Size getStoreFileRootLevelIndexSize()
getStoreFileRootLevelIndexSize
in interface RegionMetrics
public Size getStoreFileUncompressedDataIndexSize()
getStoreFileUncompressedDataIndexSize
in interface RegionMetrics
public Size getBloomFilterSize()
getBloomFilterSize
in interface RegionMetrics
public long getCompactingCellCount()
getCompactingCellCount
in interface RegionMetrics
public long getCompactedCellCount()
getCompactedCellCount
in interface RegionMetrics
public long getCompletedSequenceId()
RegionMetrics
getCompletedSequenceId
in interface RegionMetrics
public Map<byte[],Long> getStoreSequenceId()
getStoreSequenceId
in interface RegionMetrics
public Size getUncompressedStoreFileSize()
getUncompressedStoreFileSize
in interface RegionMetrics
public float getDataLocality()
getDataLocality
in interface RegionMetrics
public long getLastMajorCompactionTimestamp()
getLastMajorCompactionTimestamp
in interface RegionMetrics
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.