public abstract class AbstractProxyManager<K> extends Object implements ProxyManager<K>
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractProxyManager(ClientSideConfig clientSideConfig) |
| Modifier and Type | Method and Description |
|---|---|
AsyncProxyManager<K> |
asAsync()
Returns asynchronous API for this proxy manager.
|
RemoteBucketBuilder<K> |
builder() |
protected abstract <T> CommandResult<T> |
execute(K key,
Request<T> request) |
protected abstract <T> CompletableFuture<CommandResult<T>> |
executeAsync(K key,
Request<T> request) |
protected Version |
getBackwardCompatibilityVersion() |
protected ClientSideConfig |
getClientSideConfig() |
protected Long |
getClientSideTime() |
Optional<BucketConfiguration> |
getProxyConfiguration(K key)
Locates configuration of bucket which actually stored in the underlying storage.
|
protected abstract CompletableFuture<Void> |
removeAsync(K key) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisAsyncModeSupported, isExpireAfterWriteSupported, removeProxy, withMapperprotected AbstractProxyManager(ClientSideConfig clientSideConfig)
public AsyncProxyManager<K> asAsync()
ProxyManagerasAsync in interface ProxyManager<K>public RemoteBucketBuilder<K> builder()
builder in interface ProxyManager<K>public Optional<BucketConfiguration> getProxyConfiguration(K key)
ProxyManagergetProxyConfiguration in interface ProxyManager<K>key - the unique identifier used to point to the bucket in external storage.protected abstract <T> CommandResult<T> execute(K key, Request<T> request)
protected abstract <T> CompletableFuture<CommandResult<T>> executeAsync(K key, Request<T> request)
protected abstract CompletableFuture<Void> removeAsync(K key)
protected ClientSideConfig getClientSideConfig()
protected Version getBackwardCompatibilityVersion()
protected Long getClientSideTime()
Copyright © 2024. All rights reserved.