HCOLL-382 add the UpdateResult field to net.openhft.chronicle.map.MapEventListener#onPut

This commit is contained in:
Rob Austin
2015-08-20 14:04:49 +01:00
parent f15d087234
commit a0ecb8fc6b
6 changed files with 53 additions and 39 deletions
@@ -54,7 +54,8 @@ public class EventListenerWithTCPSocketReplicationTest {
private static final long serialVersionUID = 1L;
@Override
public void onPut(Integer key, CharSequence value, CharSequence replacedValue, boolean replicationEvent) {
public void onPut(Integer key, CharSequence value, CharSequence replacedValue,
boolean replicationEvent, boolean added) {
putWasCalled.getAndSet(true);
keyRef.set(key);
valueRef.set(value);