K
- the map key typeV
- the map value typeR
- the return type of MapEntryOperations
specified for the queried mappublic interface MapRemoteQueryContext<K,V,R> extends MapQueryContext<K,V,R>, RemoteOperationContext<K>
ChronicleMap
queries and internal replication operations.MapRemoteOperations
Modifier and Type | Method and Description |
---|---|
Data<V> |
dummyZeroValue()
The value used as a tombstone, for removed entries, to save space.
|
MapReplicableEntry<K,V> |
entry()
Returns the entry context, if the entry with the queried key is present
in the
ChronicleHash , returns null is the entry is absent. |
absentEntry
queriedKey, segmentIndex
readLock, updateLock, writeLock
hash, map, wrapValueAsData
insert, remove, replaceValue
defaultValue
remoteIdentifier, remoteTimestamp
@Nullable MapReplicableEntry<K,V> entry()
HashQueryContext
ChronicleHash
, returns null
is the entry is absent.entry
in interface HashQueryContext<K>
entry
in interface MapQueryContext<K,V,R>
Data<V> dummyZeroValue()
The returned value doesn't have object form (i. e. it's Data.get()
and Data.getUsing(Object)
methods throw UnsupportedOperationException
), it has only
bytes form, of all zero bytes.
Copyright © 2015. All rights reserved.