Reuse code between internal and 'API' replication: remove ReplicatedInputKeyBytesData and ReplicatedInputValueBytesData

This commit is contained in:
leventov
2015-12-20 16:33:28 +03:00
parent c59b801795
commit de8e27464c
6 changed files with 21 additions and 189 deletions
@@ -443,8 +443,7 @@ public class ReplicatedChronicleMap<K, V, R> extends VanillaChronicleMap<K, V, R
@Override
public void readExternalEntry(@NotNull Bytes source) {
try (CompiledReplicatedMapQueryContext<K, V, R> remoteOpContext = mapContext()) {
remoteOpContext.initReplicationInput(source);
remoteOpContext.processReplicatedEvent();
remoteOpContext.processReplicatedEvent(source);
}
}