static class BucketCache.SharedMemoryBucketEntry extends BucketCache.BucketEntry
Modifier and Type | Field and Description |
---|---|
private boolean |
markedForEvict |
private AtomicInteger |
refCount |
private static long |
serialVersionUID |
COMPARATOR, deserialiserIndex
Constructor and Description |
---|
SharedMemoryBucketEntry(long offset,
int length,
long accessCounter,
boolean inMemory) |
Modifier and Type | Method and Description |
---|---|
protected int |
decrementRefCountAndGet() |
protected int |
getRefCount() |
protected int |
incrementRefCountAndGet() |
protected boolean |
isMarkedForEvict() |
protected void |
markForEvict() |
access, deserializerReference, getCachedTime, getLength, getPriority, offset, setDeserialiserReference
private static final long serialVersionUID
private volatile boolean markedForEvict
private AtomicInteger refCount
SharedMemoryBucketEntry(long offset, int length, long accessCounter, boolean inMemory)
protected int getRefCount()
getRefCount
in class BucketCache.BucketEntry
protected int incrementRefCountAndGet()
incrementRefCountAndGet
in class BucketCache.BucketEntry
protected int decrementRefCountAndGet()
decrementRefCountAndGet
in class BucketCache.BucketEntry
protected boolean isMarkedForEvict()
isMarkedForEvict
in class BucketCache.BucketEntry
protected void markForEvict()
markForEvict
in class BucketCache.BucketEntry
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.