mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
Make ChronicleMapBuilder.entries() config obligatory for in-memory Maps and persistence-creating Maps
This commit is contained in:
@@ -40,6 +40,7 @@ public class TcpReplicationWithAcquireContextTest {
|
||||
|
||||
try (ChronicleMap<CharSequence, TestInstrumentVOInterface> map1 = ChronicleMap
|
||||
.of(CharSequence.class, TestInstrumentVOInterface.class)
|
||||
.entries(1)
|
||||
.averageKey("hello")
|
||||
.replication((byte) 1, config1)
|
||||
.create()) {
|
||||
@@ -52,6 +53,7 @@ public class TcpReplicationWithAcquireContextTest {
|
||||
|
||||
try (ChronicleMap<CharSequence, TestInstrumentVOInterface> map2 =
|
||||
ChronicleMap.of(CharSequence.class, TestInstrumentVOInterface.class)
|
||||
.entries(1)
|
||||
.averageKey("hello")
|
||||
.replication((byte) 2, config2)
|
||||
.create()) {
|
||||
|
||||
Reference in New Issue
Block a user