BucketCache, an implementation of
BlockCache.See: Description
| Interface | Description |
|---|---|
| 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 | |
| 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. |
| 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.
|
| ExclusiveMemoryMmapIOEngine |
IO engine that stores data to a file on the local block device using memory mapping mechanism
|
| FileIOEngine |
IO engine that stores data to a file on the local file system.
|
| FileMmapIOEngine |
IO engine that stores data to a file on the specified file system using memory mapping mechanism
|
| PersistentIOEngine |
A class implementing PersistentIOEngine interface supports file integrity verification for
BucketCache which use persistent IOEngine |
| SharedMemoryMmapIOEngine |
IO engine that stores data in pmem devices such as DCPMM.
|
| Exception | Description |
|---|---|
| BucketAllocatorException |
Thrown by
BucketAllocator |
| CacheFullException |
Thrown by
BucketAllocator.allocateBlock(int) when cache is full for the requested size |
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.