Use ChronicleMapBuilder to build all ChronicleMap

This commit is contained in:
Peter Lawrey
2015-01-15 17:35:44 +00:00
parent a7b3f03fe2
commit 8a4ad9ade2
9 changed files with 38 additions and 31 deletions
@@ -117,8 +117,8 @@ public class StatelessClientTest {
serverMap.put(10, new StringBuilder("Hello World"));
try (ChronicleMap<Integer, StringBuilder> statelessMap =
ChronicleMapStatelessClientBuilder
.<Integer, StringBuilder>of(new InetSocketAddress("localhost", port))
ChronicleMapBuilder
.of(Integer.class, StringBuilder.class, new InetSocketAddress("localhost", port))
.putReturnsNull(true)
.create()) {
String actual = statelessMap.getMapped(10, ToString.INSTANCE);