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 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 |
Constructor and Description |
---|
RegionMetricsImpl(byte[] name,
int storeCount,
int storeFileCount,
int storeRefCount,
int maxCompactedStoreFileRefCount,
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) |
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 int storeRefCount
private final int maxCompactedStoreFileRefCount
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, int storeRefCount, int maxCompactedStoreFileRefCount, 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 int getStoreRefCount()
getStoreRefCount
in interface RegionMetrics
public int getMaxCompactedStoreFileRefCount()
getMaxCompactedStoreFileRefCount
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–2020 The Apache Software Foundation. All rights reserved.