mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
HCOLL-155 added two of peters tests and them implemented the code accordingly - the test are net.openhft.chronicle.map.ChronicleMapTest#testOffheapAcquireUsingLocked and net.openhft.chronicle.map.ChronicleMapTest#testOnheapAcquireUsingLocked
This commit is contained in:
@@ -142,9 +142,9 @@ public interface ChronicleMap<K, V> extends ConcurrentMap<K, V>, ChronicleHash {
|
||||
|
||||
|
||||
// todo document
|
||||
SegmentLock acquireUsingReadLocked(@NotNull K key, @NotNull V usingValue);
|
||||
LockedEntry<K,V> acquireUsingReadLocked(@NotNull K key, @NotNull V usingValue);
|
||||
|
||||
// todo document
|
||||
SegmentLock acquireUsingWriteLocked(@NotNull K key, @NotNull V usingValue);
|
||||
LockedEntry<K,V> acquireUsingWriteLocked(@NotNull K key, @NotNull V usingValue);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user