| Interface | Description |
|---|---|
| IOEngine |
A class implementing IOEngine interface could support 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 | |
| BucketCache |
BucketCache uses
BucketAllocator to allocate/free block, and use
BucketCache.ramCache and BucketCache.backingMap in order to
determine if a given element is in the cache. |
| BucketCacheStats |
Class that implements cache metrics for bucket cache.
|
| ByteBufferIOEngine |
IO engine that stores data on the 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.
|
| UniqueIndexMap<T> |
Map from type T to int and vice-versa.
|
| Exception | Description |
|---|---|
| BucketAllocatorException |
Thrown by
BucketAllocator |
| CacheFullException |
Thrown by
BucketAllocator.allocateBlock(int) when cache is full for
the requested size |
Copyright © 2014 The Apache Software Foundation. All rights reserved.