DOC-14 Stateless Client : enhancing the synchronous writes so we don't need a thread local client for each thread

This commit is contained in:
Rob Austin
2014-11-24 08:29:44 +00:00
parent 5fb243e301
commit a5fe252478
7 changed files with 92 additions and 21 deletions
@@ -26,6 +26,7 @@ import java.util.Collection;
import java.util.Map;
import java.util.Set;
import java.util.concurrent.ConcurrentMap;
import java.util.concurrent.Future;
/**
* @author Rob Austin.
@@ -254,6 +255,11 @@ public class ReplicationCheckingMap<K, V> implements ChronicleMap<K, V> {
return map1.updateForKey(key, mutator);
}
@Override
public Future<V> getLater(K key) {
throw new UnsupportedOperationException();
}
@Override
public V acquireUsing(@NotNull K key, V usingValue) {
return map1.acquireUsing(key, usingValue);