mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
HCOLL-286 HCOLL-292 added replicationEvent flag to event callbacks
This commit is contained in:
@@ -57,8 +57,8 @@ class ReplicationHubFindByName<K> implements FindByName {
|
||||
// creates a map based on the details that are sent to the map of builders
|
||||
@Override
|
||||
public void onPut(CharSequence key, MapInstanceBuilder value,
|
||||
MapInstanceBuilder replacedValue) {
|
||||
super.onPut(key, value, replacedValue);
|
||||
MapInstanceBuilder replacedValue, boolean replicationEvent) {
|
||||
super.onPut(key, value, replacedValue, replicationEvent);
|
||||
boolean added = replacedValue == null;
|
||||
if (!added || value == null)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user