changed packet size to tcpBufferSize and added CHUseCaseTests for stateless client and tcp replication

This commit is contained in:
Rob Austin
2014-12-15 18:14:44 +00:00
parent 87d3cfc55a
commit 20f0d372f0
3 changed files with 415 additions and 190 deletions
@@ -42,7 +42,7 @@ public class TcpReplicationLargeEntryTest {
final TcpTransportAndNetworkConfig tcpConfig1 = TcpTransportAndNetworkConfig.of(s_port,
endpoint).autoReconnectedUponDroppedConnection(true).name(" map1")
.heartBeatInterval(1, TimeUnit.SECONDS)
.packetSize(1024 * 64);
.tcpBufferSize(1024 * 64);
map1 = ChronicleMapBuilder.of(Integer.class, CharSequence.class)
@@ -57,7 +57,7 @@ public class TcpReplicationLargeEntryTest {
final TcpTransportAndNetworkConfig tcpConfig2 = TcpTransportAndNetworkConfig.of
(s_port + 1).autoReconnectedUponDroppedConnection(true).name("map2")
.heartBeatInterval(1, TimeUnit.SECONDS)
.packetSize(1024 * 64);
.tcpBufferSize(1024 * 64);
map2 = ChronicleMapBuilder.of(Integer.class, CharSequence.class)
.entries(Builder.SIZE + Builder.SIZE)