HCOLL-172 Verified thath IntIntMultiMap now supports up to 2^32 entries; ShortShortMultiMap up to 2^16; ChronicleMap.Segment are now long-sized; attempt to support non-power-of-2 number of segments by HashSplitting (not tested yet); improved logic and dependencies between actualSegments(), actualEntriesPerSegments() and minSegments() methods in ChronicleMapBuilder; minor fixes

This commit is contained in:
leventov
2014-10-25 00:45:59 +04:00
parent 055349a97c
commit 061fc5b53b
15 changed files with 736 additions and 522 deletions
@@ -91,7 +91,7 @@ public class CHMMetaDataTest {
@Override
public void onRemove(ChronicleMap<String, String> map, Bytes entry, int metaDataBytes,
String key, String value, int pos, SharedSegment segment) {
String key, String value, long pos, SharedSegment segment) {
assertEquals(8, metaDataBytes);
System.out.println("Removed " + key + "/" + value + " with ts of " + entry.readLong(0));
}