HCOLL-155 removed acquireUsingReadLocked and acquireUsingWriteLocked to WriteContext<K,V> acquireUsingLocked(@NotNull K key, @NotNull V usingValue); and ReadContext<K,V> getUsingLocked(@NotNull K key, @NotNull V usingValue);

This commit is contained in:
Rob Austin
2014-11-02 18:35:26 +00:00
parent 55e50d40a3
commit ef0cd0f96f
10 changed files with 297 additions and 152 deletions
@@ -401,12 +401,12 @@ class StatelessChronicleMap<K, V> implements ChronicleMap<K, V>, Closeable {
}
@Override
public LockedEntry acquireUsingReadLocked(K key, V usingValue) {
public WriteContext<K,V> acquireUsingLocked(K key, V usingValue) {
throw new UnsupportedOperationException();
}
@Override
public LockedEntry acquireUsingWriteLocked(K key, V usingValue) {
public ReadContext<K,V> getUsingLocked(K key, V usingValue) {
throw new UnsupportedOperationException();
}