mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
Make value and value size configuration obligatory in ChronicleMapBuilder
This commit is contained in:
@@ -189,6 +189,7 @@ public class StringEncodingExamplesTest {
|
||||
private void testCustomKeyMarshaller(BytesMarshaller<CharSequence> marshaller)
|
||||
throws IOException {
|
||||
try (ChronicleSet<CharSequence> chineseWordSet = ChronicleSetBuilder.of(CharSequence.class)
|
||||
.averageKeySize(10)
|
||||
.keyMarshaller(marshaller)
|
||||
.actualSegments(1)
|
||||
.entriesPerSegment(1000)
|
||||
|
||||
Reference in New Issue
Block a user