JLANG-39 implemented universal readers/writers for classes eligible for dataValue generation, test of the simplier case

This commit is contained in:
leventov
2014-12-06 00:09:50 +07:00
parent dc449f1608
commit f8cb1d49d9
5 changed files with 572 additions and 5 deletions
+4 -2
View File
@@ -22,7 +22,8 @@ public class BGChronicleTest {
byte[] value = new byte[11];
public ChronicleMap<byte[], byte[]> startChronicleMapServer(int port) throws InterruptedException, IOException {
public ChronicleMap<byte[], byte[]> startChronicleMapServer(int port)
throws InterruptedException, IOException {
TcpTransportAndNetworkConfig serverConfig = TcpTransportAndNetworkConfig.of(port)
@@ -107,7 +108,8 @@ public class BGChronicleTest {
final InetSocketAddress serverHostPort = new InetSocketAddress(hostNameOrIpAddress, port);
TcpTransportAndNetworkConfig clientConfig = TcpTransportAndNetworkConfig.of(port + 1, serverHostPort)
TcpTransportAndNetworkConfig clientConfig =
TcpTransportAndNetworkConfig.of(port + 1, serverHostPort)
.heartBeatInterval(CHRONICLE_HEARTBEAT_SECONDS, TimeUnit.SECONDS).name("clientMap")
.autoReconnectedUponDroppedConnection(true);