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| Modifier | Constructor and Description |
|---|---|
protected |
WritableRecord(OffheapMap<K,V> map,
RWLock lock,
long entry,
K key,
long currentPtr) |
| Modifier and Type | Method and Description |
|---|---|
long |
currentPtr() |
boolean |
isNullOrExpired() |
K |
key() |
void |
release() |
void |
remove() |
void |
setValue(V value) |
protected K key
protected long currentPtr
protected WritableRecord(OffheapMap<K,V> map, RWLock lock, long entry, K key, long currentPtr)
public void setValue(V value) throws OutOfMemoryException
OutOfMemoryExceptionpublic void remove()
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>Copyright © 2019. All rights reserved.