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
@@ -26,6 +26,7 @@ import java.util.concurrent.ExecutionException;
import java.util.concurrent.TimeUnit;
import static java.util.Arrays.asList;
import static net.openhft.chronicle.map.StatelessClientTest.localClient;
import static net.openhft.chronicle.map.fromdocs.OpenJDKAndHashMapExamplesTest.parseYYYYMMDD;
import static org.junit.Assert.*;
@@ -294,9 +295,7 @@ public class CHMUseCasesTest {
}
{
map1 = builder
.statelessClient(new InetSocketAddress("localhost", 8086))
.create();
map1 = localClient(8086);
closeables.add(map1);
return map1;