HCOLL-285 Refactor Stateless client builders, MapInstanceConfig =>

Builder, removed addJsonConverter method from ChronicleMapBuilder
This commit is contained in:
leventov
2015-01-02 00:36:30 +07:00
parent 2ec2906e86
commit 96a0b57c66
29 changed files with 526 additions and 529 deletions
@@ -40,6 +40,7 @@ import java.util.concurrent.*;
import java.util.concurrent.atomic.AtomicInteger;
import static net.openhft.chronicle.map.Alignment.*;
import static net.openhft.chronicle.map.StatelessClientTest.localClient;
import static org.junit.Assert.*;
@SuppressWarnings({"unchecked", "ResultOfMethodCallIgnored"})
@@ -1710,11 +1711,7 @@ public class ChronicleMapTest {
.constantKeySizeBySample(new byte[14])
.createPersistedTo(mapFile)) {
try (ChronicleMap<byte[], byte[][]> map2 = ChronicleMapBuilder
.of(byte[].class, byte[][].class)
.constantKeySizeBySample(new byte[14])
.statelessClient(new InetSocketAddress("localhost", 8877))
.create()) {
try (ChronicleMap<byte[], byte[][]> map2 = localClient(8877)) {
byte[] key = new byte[14];