public static class BlockCacheUtil.CachedBlocksByFile extends Object
| Modifier and Type | Method and Description |
|---|---|
AgeSnapshot |
getAgeInCacheSnapshot() |
NavigableMap<String,NavigableSet<CachedBlock>> |
getCachedBlockStatsByFile() |
int |
getCount()
Returns count of blocks in the cache
|
int |
getDataCount() |
long |
getDataSize()
Returns Size of data.
|
long |
getSize()
Returns size of blocks in the cache
|
boolean |
isFull() |
String |
toString() |
boolean |
update(CachedBlock cb)
Returns True if full....
|
public boolean update(CachedBlock cb)
public boolean isFull()
hbase.ui.blockcache.by.file.max (Default:
DEFAULT_MAX).public NavigableMap<String,NavigableSet<CachedBlock>> getCachedBlockStatsByFile()
public int getCount()
public int getDataCount()
public long getSize()
public long getDataSize()
public AgeSnapshot getAgeInCacheSnapshot()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.