K
- the hash key typepublic interface HashQueryContext<K> extends HashContext<K>, InterProcessReadWriteUpdateLock
ChronicleHash
operations with individual keys.ChronicleHash.queryContext(Object)
Modifier and Type | Method and Description |
---|---|
HashAbsentEntry<K> |
absentEntry()
Returns the special absent entry object, if the entry with the queried key
is absent in the hash, returns
null , if the entry is present. |
HashEntry<K> |
entry()
Returns the entry context, if the entry with the queried key is present
in the
ChronicleHash , returns null is the entry is absent. |
Value<K,?> |
queriedKey()
Returns the queried key as a
Value . |
hash
readLock, updateLock, writeLock
HashEntry<K> entry()
ChronicleHash
, returns null
is the entry is absent.HashAbsentEntry<K> absentEntry()
null
, if the entry is present.Copyright © 2015. All rights reserved.