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:
Rob Austin
2014-11-02 00:16:02 +00:00
parent 100d839a8b
commit 118ed1676f
9 changed files with 310 additions and 137 deletions
@@ -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);
}