K
- the generic type for unique identifiers that used to point to the bucket in external storage.public abstract class AbstractCompareAndSwapBasedProxyManager<K> extends AbstractProxyManager<K>
Modifier | Constructor and Description |
---|---|
protected |
AbstractCompareAndSwapBasedProxyManager(ClientSideConfig clientSideConfig) |
Modifier and Type | Method and Description |
---|---|
protected abstract AsyncCompareAndSwapOperation |
beginAsyncCompareAndSwapOperation(K key) |
protected abstract CompareAndSwapOperation |
beginCompareAndSwapOperation(K key) |
<T> CommandResult<T> |
execute(K key,
Request<T> request) |
<T> CompletableFuture<CommandResult<T>> |
executeAsync(K key,
Request<T> request) |
asAsync, builder, getBackwardCompatibilityVersion, getClientSideConfig, getClientSideTime, getProxyConfiguration, removeAsync
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isAsyncModeSupported, removeProxy
protected AbstractCompareAndSwapBasedProxyManager(ClientSideConfig clientSideConfig)
public <T> CommandResult<T> execute(K key, Request<T> request)
execute
in class AbstractProxyManager<K>
public <T> CompletableFuture<CommandResult<T>> executeAsync(K key, Request<T> request)
executeAsync
in class AbstractProxyManager<K>
protected abstract CompareAndSwapOperation beginCompareAndSwapOperation(K key)
protected abstract AsyncCompareAndSwapOperation beginAsyncCompareAndSwapOperation(K key)
Copyright © 2021. All rights reserved.