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:
@@ -120,6 +120,12 @@ class Int24Int24MultiMap implements MultiMap {
|
||||
return (pos -= ENTRY_SIZE) >= 0L ? pos : pos + capacityInBytes;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void putPosition(long value) {
|
||||
checkValueForPut(value);
|
||||
positions.set(value);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void put(long key, long value) {
|
||||
key = maskUnsetKey(key);
|
||||
@@ -134,6 +140,12 @@ class Int24Int24MultiMap 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