HCOLL-185 refactored VanillaChronicleMap and ReplicatedChronicleMap; split BytesMapEventListener from MapEventListener; many bug fixes and optimizations; Stateless client queries without serialization/deserialization not working yet

This commit is contained in:
leventov
2014-11-28 00:05:49 +07:00
parent 38a058e3ce
commit 40a3080ac9
28 changed files with 2527 additions and 1877 deletions
@@ -121,6 +121,12 @@ class IntIntMultiMap implements MultiMap {
return (pos - ENTRY_SIZE) & capacityMask2;
}
@Override
public void putPosition(long value) {
checkValueForPut(value);
positions.set(value);
}
@Override
public void put(long key, long value) {
key = maskUnsetKey(key);
@@ -135,6 +141,12 @@ class IntIntMultiMap implements MultiMap {
}
}
@Override
public void removePosition(long value) {
checkValueForRemove(value);
positions.clear(value);
}
@Override
public void remove(long key, long value) {
key = maskUnsetKey(key);