HCOLL-163 renamed chronicle custer to chronicle channel

This commit is contained in:
Rob Austin
2014-10-13 18:04:38 +01:00
parent 30a1abef06
commit d01b5d8c59
7 changed files with 41 additions and 46 deletions
@@ -40,8 +40,8 @@ public class ClusterReplicationTest {
private ChronicleMap<Integer, CharSequence> map1b;
private ChronicleMap<Integer, CharSequence> map2b;
private ReplicatingCluster clusterB;
private ReplicatingCluster clusterA;
private ReplicatingChannel clusterB;
private ReplicatingChannel clusterA;
@Before
@@ -52,7 +52,7 @@ public class ClusterReplicationTest {
.of(8086, new InetSocketAddress("localhost", 8087))
.heartBeatInterval(1, SECONDS);
clusterA = new ReplicatingClusterBuilder((byte) 1, 1024).tcpReplication(tcpConfig)
clusterA = new ReplicatingChannelBuilder((byte) 1, 1024).tcpReplication(tcpConfig)
.create();
map1a = ChronicleMapBuilder.of(Integer.class, CharSequence.class)
@@ -65,7 +65,7 @@ public class ClusterReplicationTest {
TcpReplicationConfig tcpConfig =
TcpReplicationConfig.of(8087).heartBeatInterval(1, SECONDS);
clusterB = new ReplicatingClusterBuilder((byte) 2, 1024).tcpReplication(tcpConfig)
clusterB = new ReplicatingChannelBuilder((byte) 2, 1024).tcpReplication(tcpConfig)
.create();
map1b = ChronicleMapBuilder.of(Integer.class, CharSequence.class)
@@ -43,10 +43,10 @@ public class PostClusterMapCreationTest {
private ChronicleMap<Integer, CharSequence> map1b;
private ChronicleMap<Integer, CharSequence> map2b;
private ReplicatingCluster clusterB;
private ReplicatingCluster clusterA;
private ReplicatingChannel clusterB;
private ReplicatingChannel clusterA;
private ReplicatingClusterBuilder replicatingClusterBuilder1;
private ReplicatingChannelBuilder replicatingClusterBuilder1;
public static File getPersistenceFile() {
@@ -66,7 +66,7 @@ public class PostClusterMapCreationTest {
.of(8086, new InetSocketAddress("localhost", 8087))
.heartBeatInterval(1, SECONDS);
clusterA = new ReplicatingClusterBuilder((byte) 1, 1024)
clusterA = new ReplicatingChannelBuilder((byte) 1, 1024)
.tcpReplication(tcpReplicationConfig).create();
// this is how you add maps after the custer is created
@@ -87,7 +87,7 @@ public class PostClusterMapCreationTest {
.of(8087, new InetSocketAddress("localhost", 8086))
.heartBeatInterval(1, SECONDS);
clusterB = new ReplicatingClusterBuilder((byte) 2, 1024)
clusterB = new ReplicatingChannelBuilder((byte) 2, 1024)
.tcpReplication(tcpReplicationConfig).create();
// this is how you add maps after the custer is created
@@ -41,8 +41,8 @@ public class SingleMapClusterTest {
private ChronicleMap<Integer, CharSequence> map1b;
private ReplicatingCluster clusterB;
private ReplicatingCluster clusterA;
private ReplicatingChannel clusterB;
private ReplicatingChannel clusterA;
public static File getPersistenceFile() {
@@ -61,7 +61,7 @@ public class SingleMapClusterTest {
.of(8086, new InetSocketAddress("localhost", 8087))
.heartBeatInterval(1, SECONDS);
clusterA = new ReplicatingClusterBuilder((byte) 1, 1024)
clusterA = new ReplicatingChannelBuilder((byte) 1, 1024)
.tcpReplication(tcpReplicationConfig).create();
// this is how you add maps after the custer is created
map1a = ChronicleMapBuilder.of(Integer.class, CharSequence.class)
@@ -76,7 +76,7 @@ public class SingleMapClusterTest {
.of(8087, new InetSocketAddress("localhost", 8086))
.heartBeatInterval(1, SECONDS);
clusterB = new ReplicatingClusterBuilder((byte) 2, 1024)
clusterB = new ReplicatingChannelBuilder((byte) 2, 1024)
.tcpReplication(tcpReplicationConfig).create();
// this is how you add maps after the custer is created
map1b = ChronicleMapBuilder.of(Integer.class, CharSequence.class)