static class BucketCache.RAMQueueEntry extends Object
Modifier and Type | Field and Description |
---|---|
private long |
accessCounter |
private Cacheable |
data |
private boolean |
inMemory |
private BlockCacheKey |
key |
Constructor and Description |
---|
BucketCache.RAMQueueEntry(BlockCacheKey bck,
Cacheable data,
long accessCounter,
boolean inMemory) |
Modifier and Type | Method and Description |
---|---|
void |
access(long accessCounter) |
Cacheable |
getData() |
BlockCacheKey |
getKey() |
BucketCache.BucketEntry |
writeToCache(IOEngine ioEngine,
BucketAllocator bucketAllocator,
UniqueIndexMap<Integer> deserialiserMap,
AtomicLong realCacheSize) |
private BlockCacheKey key
private Cacheable data
private long accessCounter
private boolean inMemory
public BucketCache.RAMQueueEntry(BlockCacheKey bck, Cacheable data, long accessCounter, boolean inMemory)
public Cacheable getData()
public BlockCacheKey getKey()
public void access(long accessCounter)
public BucketCache.BucketEntry writeToCache(IOEngine ioEngine, BucketAllocator bucketAllocator, UniqueIndexMap<Integer> deserialiserMap, AtomicLong realCacheSize) throws CacheFullException, IOException, BucketAllocatorException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.