@InterfaceAudience.Private public class UnsafeSharedMemoryBucketEntry extends Object
| Constructor and Description |
|---|
UnsafeSharedMemoryBucketEntry(long offset,
int length,
long accessCounter,
boolean inMemory) |
| Modifier and Type | Method and Description |
|---|---|
void |
access(long accessCounter)
Block has been accessed.
|
protected int |
decrementRefCountAndGet() |
protected CacheableDeserializer<Cacheable> |
deserializerReference(UniqueIndexMap<Integer> deserialiserMap) |
long |
getCachedTime() |
int |
getLength() |
BlockPriority |
getPriority() |
protected int |
getRefCount() |
protected int |
incrementRefCountAndGet() |
protected boolean |
isMarkedForEvict() |
protected void |
markForEvict() |
protected void |
setDeserialiserReference(CacheableDeserializer<Cacheable> deserializer,
UniqueIndexMap<Integer> deserialiserMap) |
public UnsafeSharedMemoryBucketEntry(long offset,
int length,
long accessCounter,
boolean inMemory)
protected int getRefCount()
protected int incrementRefCountAndGet()
protected int decrementRefCountAndGet()
protected boolean isMarkedForEvict()
protected void markForEvict()
public int getLength()
protected CacheableDeserializer<Cacheable> deserializerReference(UniqueIndexMap<Integer> deserialiserMap)
protected void setDeserialiserReference(CacheableDeserializer<Cacheable> deserializer, UniqueIndexMap<Integer> deserialiserMap)
public void access(long accessCounter)
public BlockPriority getPriority()
public long getCachedTime()
Copyright © 2007–2019 Cloudera. All rights reserved.