From 7f8f745eca8b6eb85b778b1ee370a379fd768c87 Mon Sep 17 00:00:00 2001 From: Rob Austin Date: Mon, 13 Oct 2014 18:29:41 +0100 Subject: [PATCH] HCOLL-163 renamed to "replicator" --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 1f876c659..4a1005d59 100644 --- a/README.md +++ b/README.md @@ -529,7 +529,7 @@ when using Chronicle Channels its the channels that are given the unique identif ``` java byte identifier = 2; int maxEntrySize =1024; -ChannelReplicator channelReplicatorA = new ChannelReplicatorBuilder(identifier, maxEntrySize) +ChannelReplicator replicator = new ChannelReplicatorBuilder(identifier, maxEntrySize) .create(); ``` @@ -545,7 +545,7 @@ Once you have created the ChannelReplicator you should attach your tcp configura ``` java byte identifier = 2; int maxEntrySize =1024; -ChannelReplicator channelReplicator = new ChannelReplicatorBuilder(identifier, 1024) +ChannelReplicator replicator = new ChannelReplicatorBuilder(identifier, 1024) .tcpReplication(tcpConfig) .create();; ``` @@ -555,7 +555,7 @@ Attaching ChannelReplicator replication to the map: ``` java ChronicleMap map = ChronicleMapBuilder.of(Integer.class, CharSequence.class) .entries(1000) - .channel(channelReplicator.createChannel((short) 1)) + .channel(replicator.createChannel((short) 1)) .create(file); ``` @@ -576,7 +576,7 @@ Once you have created the ChannelReplicator you may wish to hold onto the refere once you have finished, this will close everything in the ChannelReplicator ``` java -channelReplicator.close(); +replicator.close(); ``` #### Known Issues