Interface | Description |
---|---|
BlockCache |
Block cache interface.
|
CacheEntry | |
HeapSize |
Implementations can be asked for an estimate of their size in bytes.
|
Class | Description |
---|---|
CachedBlock |
Represents an entry in the
LruBlockCache . |
CachedBlockQueue |
A memory-bound queue that will grow until an element brings total size >= maxSize.
|
ClassSize |
Class for determining the "size" of a class, an attempt to calculate the actual bytes that an object of this class will occupy in memory
The core of this class is taken from the Derby project
|
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, byte[], boolean) and LruBlockCache.getBlock(java.lang.String) operations. |
LruBlockCache.CacheStats | |
SimpleBlockCache |
Simple one RFile soft reference cache.
|
SizeConstants |
Copyright © 2011–2015 The Apache Software Foundation. All rights reserved.