Make ChronicleMapBuilder.entries() config obligatory for in-memory Maps and persistence-creating Maps

This commit is contained in:
leventov
2015-11-24 23:50:41 +03:00
parent d5fe21a290
commit 582560ed15
21 changed files with 133 additions and 82 deletions
@@ -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()) {