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 |
---|
RAMQueueEntry(BlockCacheKey bck,
Cacheable data,
long accessCounter,
boolean inMemory) |
Modifier and Type | Method and Description |
---|---|
void |
access(long accessCounter) |
private BucketCache.BucketEntry |
getBucketEntry(IOEngine ioEngine,
long offset,
int len) |
Cacheable |
getData() |
BlockCacheKey |
getKey() |
BucketCache.BucketEntry |
writeToCache(IOEngine ioEngine,
BucketAllocator bucketAllocator,
UniqueIndexMap<Integer> deserialiserMap,
LongAdder realCacheSize) |
private BlockCacheKey key
private long accessCounter
private boolean inMemory
public RAMQueueEntry(BlockCacheKey bck, Cacheable data, long accessCounter, boolean inMemory)
public BlockCacheKey getKey()
public void access(long accessCounter)
private BucketCache.BucketEntry getBucketEntry(IOEngine ioEngine, long offset, int len)
public BucketCache.BucketEntry writeToCache(IOEngine ioEngine, BucketAllocator bucketAllocator, UniqueIndexMap<Integer> deserialiserMap, LongAdder realCacheSize) throws IOException
IOException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.