Package one.nio.mem
Class OffheapMap.WritableRecord<K,V>
java.lang.Object
one.nio.mem.OffheapMap.Record<K,V>
one.nio.mem.OffheapMap.WritableRecord<K,V>
- Enclosing class:
- OffheapMap<K,
V>
-
Field Summary
FieldsFields inherited from class one.nio.mem.OffheapMap.Record
entry, lock, map -
Constructor Summary
ConstructorsConstructorDescriptionWritableRecord(OffheapMap<K, V> map, RWLock lock, long entry, K key, long currentPtr) -
Method Summary
-
Field Details
-
key
-
currentPtr
protected long currentPtr
-
-
Constructor Details
-
WritableRecord
-
-
Method Details
-
setValue
- Throws:
OutOfMemoryException
-
create
- Throws:
OutOfMemoryException
-
touch
public void touch()- Overrides:
touchin classOffheapMap.Record<K,V>
-
remove
public void remove() -
isNull
public boolean isNull() -
isNullOrExpired
public boolean isNullOrExpired() -
currentPtr
public long currentPtr() -
key
- Overrides:
keyin classOffheapMap.Record<K,V>
-
release
public void release()- Overrides:
releasein classOffheapMap.Record<K,V>
-