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, setDeserialiserReferenceprivate 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.BucketEntryprotected int incrementRefCountAndGet()
incrementRefCountAndGet in class BucketCache.BucketEntryprotected int decrementRefCountAndGet()
decrementRefCountAndGet in class BucketCache.BucketEntryprotected boolean isMarkedForEvict()
isMarkedForEvict in class BucketCache.BucketEntryprotected void markForEvict()
markForEvict in class BucketCache.BucketEntryCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.