mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user