Update event to include the previous value.

This commit is contained in:
Peter Lawrey
2015-06-27 16:17:00 +01:00
parent f85def45f3
commit 9f9aaa9b9e
2 changed files with 14 additions and 4 deletions
@@ -1072,7 +1072,7 @@ final class ReplicatedChronicleMap<K, KI, MKI extends MetaBytesInterop<K, ? supe
@Nullable ThreadLocalCopies copies, @Nullable SegmentState segmentState,
MKBI metaKeyInterop, KBI keyInterop, KB key, long keySize,
InstanceOrBytesToInstance<KB, K> toKey,
GetValueInterops<VB, VBI, MVBI> getValueInterops, VB value,
GetValueInterops<VB, VBI, MVBI> getValueInterops, VB value, V oldValue,
InstanceOrBytesToInstance<? super VB, V> toValue, long hash2,
boolean replaceIfPresent, ReadValue<RV> readValue, boolean resultUnused) {
return putWithoutLock(copies, segmentState, metaKeyInterop, keyInterop, key, keySize,