public static class BlockCacheUtil.CachedBlocksByFile extends Object
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_MAX |
Modifier and Type | Method and Description |
---|---|
AgeSnapshot |
getAgeInCacheSnapshot() |
NavigableMap<String,NavigableSet<CachedBlock>> |
getCachedBlockStatsByFile() |
int |
getCount() |
int |
getDataCount() |
long |
getDataSize() |
long |
getSize() |
boolean |
isFull() |
String |
toString() |
boolean |
update(CachedBlock cb) |
public static final int DEFAULT_MAX
public boolean update(CachedBlock cb)
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-2016 The Apache Software Foundation. All Rights Reserved.