mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
HCOLL-163 Initial checking of - ( Move the identifier configuration from TCP/UDP Replication, back to the builder.), more on this JIRA coming soon...
This commit is contained in:
@@ -66,7 +66,7 @@ public class SingleMapClusterTest {
|
||||
// this is how you add maps after the custer is created
|
||||
map1a = ChronicleMapBuilder.of(Integer.class, CharSequence.class)
|
||||
.entries(1000)
|
||||
.addReplicator(clusterA.channelReplicator((short) 1))
|
||||
.channel(clusterA.createChannel((short) 1))
|
||||
.create(getPersistenceFile());
|
||||
}
|
||||
|
||||
@@ -80,7 +80,7 @@ public class SingleMapClusterTest {
|
||||
.tcpReplication(tcpReplicationConfig).create();
|
||||
// this is how you add maps after the custer is created
|
||||
map1b = ChronicleMapBuilder.of(Integer.class, CharSequence.class)
|
||||
.addReplicator(clusterB.channelReplicator((short) 1))
|
||||
.channel(clusterB.createChannel((short) 1))
|
||||
.entries(1000)
|
||||
.create(getPersistenceFile());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user