mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
Made listeners almost work for replication
This commit is contained in:
@@ -1473,7 +1473,8 @@ public final class ChronicleMapBuilder<K, V> implements
|
||||
replicators.add(ch);
|
||||
}
|
||||
for (Replicator replicator : replicators) {
|
||||
Closeable token = replicator.applyTo(this, result, result, map);
|
||||
Closeable token = replicator.applyTo(this, result, result,
|
||||
(ReplicatedChronicleMap)map);
|
||||
if (replicators.size() == 1 && token.getClass() == UdpReplicator.class) {
|
||||
LOG.warn(Replicators.ONLY_UDP_WARN_MESSAGE);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user