public static class OffheapMap.WritableRecord<K,V> extends OffheapMap.Record<K,V>
| Modifier and Type | Field and Description |
|---|---|
protected long |
currentPtr |
protected K |
key |
entry, lock, map| Constructor and Description |
|---|
WritableRecord(OffheapMap<K,V> map,
RWLock lock,
long entry,
K key,
long currentPtr) |
| Modifier and Type | Method and Description |
|---|---|
long |
create(int entrySize) |
long |
currentPtr() |
boolean |
isNull() |
boolean |
isNullOrExpired() |
K |
key() |
void |
release() |
void |
remove() |
void |
setValue(V value) |
void |
touch() |
protected K key
protected long currentPtr
public WritableRecord(OffheapMap<K,V> map, RWLock lock, long entry, K key, long currentPtr)
public void setValue(V value) throws OutOfMemoryException
OutOfMemoryExceptionpublic long create(int entrySize)
throws OutOfMemoryException
OutOfMemoryExceptionpublic void touch()
touch in class OffheapMap.Record<K,V>public void remove()
public boolean isNull()
public boolean isNullOrExpired()
public long currentPtr()
public K key()
key in class OffheapMap.Record<K,V>public void release()
release in class OffheapMap.Record<K,V>