mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
HCOLL-285 Refactor Stateless client builders, MapInstanceConfig =>
Builder, removed addJsonConverter method from ChronicleMapBuilder
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user