public abstract class MapSegmentIteration<K,V,R> extends HashSegmentIteration<K,MapEntry<K,V>> implements MapEntry<K,V>, net.openhft.chronicle.map.impl.IterationContext<K,V,R>
checkOnEachPublicOperation, entryRemovedOnThisIteration, hashLookupEntry, hlp, s| Constructor and Description |
|---|
MapSegmentIteration() |
| Modifier and Type | Method and Description |
|---|---|
WrappedValueInstanceDataHolderAccess<K,V,?> |
context()
Returns the context, in which the entry is accessed.
|
void |
doReplaceValue(Data<V> newValue)
Replaces the entry's value with the given
newValue. |
void |
hookAfterEachIteration() |
checkEntryNotRemovedOnThisIteration, doRemove, entryForIteration, forEachSegmentEntry, forEachSegmentEntryWhile, forEachTierEntryWhile, hashLookupEntryInit, initEntryRemovedOnThisIteration, initHashLookupEntry, innerForEachSegmentEntryWhile, iterationRemove, shouldTestEntry, tierEntriesForIterationclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinitSegmentIndex, pos, recoverSegmentsforEachSegmentEntry, forEachSegmentEntryWhile, sizeisClosedcreatedHere, throwExceptionIfClosed, warnAndCloseIfNotClosedclose, closeQuietly, closeQuietlyhash, map, wrapValueAsData, wrapValueBytesAsDatasetinsert, removeinsert, remove, replaceValuedefaultValuepublic void hookAfterEachIteration()
hookAfterEachIteration in class HashSegmentIteration<K,MapEntry<K,V>>public void doReplaceValue(Data<V> newValue)
MapEntrynewValue.
This method is the default implementation for MapEntryOperations.replaceValue(
MapEntry, Data), which might be customized over the default.
doReplaceValue in interface MapEntry<K,V>newValue - the value to be put into the map instead of the current
value@NotNull public WrappedValueInstanceDataHolderAccess<K,V,?> context()
HashEntryCopyright © 2024. All rights reserved.