HCOLL-286 HCOLL-292 added replicationEvent flag to event callbacks

This commit is contained in:
leventov
2015-01-28 11:44:20 +07:00
parent 2ed4790eb9
commit 07333660d0
7 changed files with 35 additions and 33 deletions
@@ -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;