K - the generic type for unique identifiers that used to point to the bucket in external storage.public abstract class AbstractLockBasedProxyManager<K> extends AbstractProxyManager<K>
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractLockBasedProxyManager(ClientSideConfig clientSideConfig) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract LockBasedTransaction |
allocateTransaction(K key) |
<T> CommandResult<T> |
execute(K key,
Request<T> request) |
<T> CompletableFuture<CommandResult<T>> |
executeAsync(K key,
Request<T> request) |
boolean |
isAsyncModeSupported()
Describes whether or not this manager supports asynchronous API.
|
protected CompletableFuture<Void> |
removeAsync(Object key) |
asAsync, builder, getBackwardCompatibilityVersion, getClientSideConfig, getClientSideTime, getProxyConfigurationclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitremoveProxyprotected AbstractLockBasedProxyManager(ClientSideConfig clientSideConfig)
public <T> CommandResult<T> execute(K key, Request<T> request)
execute in class AbstractProxyManager<K>public boolean isAsyncModeSupported()
ProxyManagerfalse then any invocation of ProxyManager.asAsync() will throw UnsupportedOperationException.true if this extension supports asynchronous APIpublic <T> CompletableFuture<CommandResult<T>> executeAsync(K key, Request<T> request)
executeAsync in class AbstractProxyManager<K>protected CompletableFuture<Void> removeAsync(Object key)
removeAsync in class AbstractProxyManager<K>protected abstract LockBasedTransaction allocateTransaction(K key)
Copyright © 2022. All rights reserved.