public class DfsReaderIoStats
extends java.lang.Object
DfsReader
.Modifier and Type | Class and Description |
---|---|
static class |
DfsReaderIoStats.Accumulator
POJO to accumulate IO statistics.
|
Modifier and Type | Field and Description |
---|---|
private DfsReaderIoStats.Accumulator |
stats |
Constructor and Description |
---|
DfsReaderIoStats(DfsReaderIoStats.Accumulator stats) |
Modifier and Type | Method and Description |
---|---|
long |
getBlockCacheHits()
Get total number of block cache hits.
|
long |
getInflatedBytes()
Get total number of bytes decompressed.
|
long |
getInflationMicros()
Get total microseconds spent inflating compressed bytes.
|
long |
getReadBitmapIndexCount()
Get total number of complete bitmap indexes read into memory.
|
long |
getReadBlocksBytes()
Get total number of compressed bytes read during cache misses, as block
sized units.
|
long |
getReadBlocksCount()
Get total number of discrete blocks actually read from pack file(s), that
is, block cache misses.
|
long |
getReadBlocksMicros()
Get total microseconds spent reading blocks during cache misses.
|
long |
getReadIndexBytes()
Get total number of bytes read from indexes.
|
long |
getReadIndexMicros()
Get total microseconds spent reading pack or bitmap indexes.
|
long |
getReadPackIndexCount()
Get total number of complete pack indexes read into memory.
|
long |
getScanPacks()
Get number of times the reader explicitly called scanPacks.
|
private final DfsReaderIoStats.Accumulator stats
DfsReaderIoStats(DfsReaderIoStats.Accumulator stats)
public long getScanPacks()
public long getReadPackIndexCount()
public long getReadBitmapIndexCount()
public long getReadIndexBytes()
public long getReadIndexMicros()
public long getBlockCacheHits()
public long getReadBlocksCount()
public long getReadBlocksBytes()
public long getReadBlocksMicros()
public long getInflatedBytes()
public long getInflationMicros()