| Package | Description | 
|---|---|
| org.apache.hadoop.hbase.io.hfile | 
 Provides implementations of  
HFile and HFile
 BlockCache. | 
| org.apache.hadoop.hbase.io.hfile.bucket | 
 Provides  
BucketCache, an implementation of
 BlockCache. | 
| Modifier and Type | Method and Description | 
|---|---|
CacheableDeserializer<Cacheable> | 
HFileBlock.getDeserializer()  | 
CacheableDeserializer<Cacheable> | 
Cacheable.getDeserializer()
Returns CacheableDeserializer instance which reconstructs original object from ByteBuffer. 
 | 
static CacheableDeserializer<Cacheable> | 
CacheableDeserializerIdManager.getDeserializer(int id)
Get the cacheable deserializer as the given identifier Id 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static int | 
CacheableDeserializerIdManager.registerDeserializer(CacheableDeserializer<Cacheable> cd)
Register the given  
Cacheable -- usually an hfileblock instance, these implement
 the Cacheable Interface -- deserializer and generate a unique identifier id for it and return
 this as our result. | 
| Modifier and Type | Method and Description | 
|---|---|
Cacheable | 
FileIOEngine.read(long offset,
    int length,
    CacheableDeserializer<Cacheable> deserializer)
Transfers data from file to the given byte buffer 
 | 
Cacheable | 
IOEngine.read(long offset,
    int length,
    CacheableDeserializer<Cacheable> deserializer)
Transfers data from IOEngine to a Cacheable object. 
 | 
Cacheable | 
FileMmapEngine.read(long offset,
    int length,
    CacheableDeserializer<Cacheable> deserializer)  | 
Cacheable | 
ByteBufferIOEngine.read(long offset,
    int length,
    CacheableDeserializer<Cacheable> deserializer)  | 
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.