|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use BlockCache | |
|---|---|
| org.apache.hadoop.hbase.io | |
| org.apache.hadoop.hbase.io.hfile | Provides the hbase data+index+metadata file. |
| org.apache.hadoop.hbase.regionserver | |
| Uses of BlockCache in org.apache.hadoop.hbase.io |
|---|
| Constructors in org.apache.hadoop.hbase.io with parameters of type BlockCache | |
|---|---|
HalfStoreFileReader(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path p,
BlockCache c,
Reference r)
|
|
| Uses of BlockCache in org.apache.hadoop.hbase.io.hfile |
|---|
| Classes in org.apache.hadoop.hbase.io.hfile that implement BlockCache | |
|---|---|
class |
LruBlockCache
A block cache implementation that is memory-aware using HeapSize,
memory-bound using an LRU eviction algorithm, and concurrent: backed by a
ConcurrentHashMap and with a non-blocking eviction thread giving
constant-time LruBlockCache.cacheBlock(java.lang.String, java.nio.ByteBuffer, boolean) and LruBlockCache.getBlock(java.lang.String) operations. |
class |
SimpleBlockCache
Simple one RFile soft reference cache. |
| Constructors in org.apache.hadoop.hbase.io.hfile with parameters of type BlockCache | |
|---|---|
HFile.Reader(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path path,
BlockCache cache,
boolean inMemory)
Opens a HFile. |
|
HFile.Reader(org.apache.hadoop.fs.FSDataInputStream fsdis,
long size,
BlockCache cache,
boolean inMemory)
Opens a HFile. |
|
| Uses of BlockCache in org.apache.hadoop.hbase.regionserver |
|---|
| Methods in org.apache.hadoop.hbase.regionserver that return BlockCache | |
|---|---|
BlockCache |
StoreFile.getBlockCache()
|
static BlockCache |
StoreFile.getBlockCache(org.apache.hadoop.conf.Configuration conf)
Returns the block cache or null in case none should be used. |
| Constructors in org.apache.hadoop.hbase.regionserver with parameters of type BlockCache | |
|---|---|
StoreFile.Reader(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path path,
BlockCache blockCache,
boolean inMemory)
|
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||