More replication API renames and Wiki updated

This commit is contained in:
leventov
2014-11-08 05:41:17 +03:00
parent c0d9099da9
commit 1790f7c511
7 changed files with 46 additions and 40 deletions
@@ -68,7 +68,7 @@ public class SingleMapChannelTest {
hubA = ReplicationHub.builder()
.maxEntrySize(maxEntrySize)
.tcpTransportAndNetwork(tcpConfig)
.create(identifier);
.createWithId(identifier);
// this is how you add maps after the custer is created
map1a = ChronicleMapBuilder.of(Integer.class, CharSequence.class)
.entries(1000)
@@ -81,7 +81,7 @@ public class SingleMapChannelTest {
.forSendingNode(8087, new InetSocketAddress("localhost", 8086))
.heartBeatInterval(1, SECONDS);
hubB = ReplicationHub.builder().tcpTransportAndNetwork(tcpConfig).create((byte) 2);
hubB = ReplicationHub.builder().tcpTransportAndNetwork(tcpConfig).createWithId((byte) 2);
// this is how you add maps after the custer is created
map1b = ChronicleMapBuilder.of(Integer.class, CharSequence.class)