BucketCache
, an implementation of
BlockCache
.See: Description
Interface | Description |
---|---|
FileIOEngine.FileAccessor | |
IOEngine |
A class implementing IOEngine interface supports data services for
BucketCache . |
Class | Description |
---|---|
BucketAllocator |
This class is used to allocate a block with specified size and free the block
when evicting.
|
BucketAllocator.Bucket | |
BucketAllocator.IndexStatistics | |
BucketCache |
BucketCache uses
BucketAllocator to allocate/free blocks, and uses
BucketCache#ramCache and BucketCache#backingMap in order to
determine if a given element is in the cache. |
BucketCache.BucketEntry |
Item in cache.
|
BucketCache.RAMQueueEntry |
Block Entry stored in the memory with key,data and so on
|
BucketCache.SharedMemoryBucketEntry | |
BucketCache.StatisticsThread | |
BucketCacheStats |
Class that implements cache metrics for bucket cache.
|
ByteBufferIOEngine |
IO engine that stores data in memory using an array of ByteBuffers
ByteBufferArray . |
CachedEntryQueue |
A memory-bound queue that will grow until an element brings total size larger
than maxSize.
|
FileIOEngine |
IO engine that stores data to a file on the local file system.
|
FileIOEngine.FileReadAccessor | |
FileIOEngine.FileWriteAccessor | |
FileMmapEngine |
IO engine that stores data to a file on the local file system using memory mapping
mechanism
|
UniqueIndexMap<T> |
Map from type T to int and vice-versa.
|
UnsafeSharedMemoryBucketEntry |
Exception | Description |
---|---|
BucketAllocatorException |
Thrown by
BucketAllocator |
CacheFullException |
Thrown by
BucketAllocator.allocateBlock(int) when cache is full for
the requested size |
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.