| 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 | Class and Description |
|---|---|
static class |
HFileBlock.BlockDeserializer |
| Modifier and Type | Field and Description |
|---|---|
static CacheableDeserializer<Cacheable> |
HFileBlock.BLOCK_DESERIALIZER
Used deserializing blocks from Cache.
|
| Modifier and Type | Field and Description |
|---|---|
private static Map<Integer,CacheableDeserializer<Cacheable>> |
CacheableDeserializerIdManager.registeredDeserializers |
| Modifier and Type | Method and Description |
|---|---|
CacheableDeserializer<Cacheable> |
Cacheable.getDeserializer()
Returns CacheableDeserializer instance which reconstructs original object from ByteBuffer.
|
CacheableDeserializer<Cacheable> |
HFileBlock.getDeserializer() |
static CacheableDeserializer<Cacheable> |
CacheableDeserializerIdManager.getDeserializer(int id)
Get the cacheable deserializer registered at 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 |
|---|---|
(package private) CacheableDeserializer<Cacheable> |
BucketEntry.deserializerReference() |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
BucketEntry.setDeserializerReference(CacheableDeserializer<Cacheable> deserializer) |
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.