K - type of primary keypublic interface AsyncProxyManager<K>
ProxyManager.AsyncBucketProxy,
ProxyManager| Modifier and Type | Method and Description |
|---|---|
RemoteAsyncBucketBuilder<K> |
builder()
Creates new instance of
RemoteAsyncBucketBuilder |
CompletableFuture<Optional<BucketConfiguration>> |
getProxyConfiguration(K key)
Asynchronously locates configuration of bucket which actually stored in the underlying storage.
|
CompletableFuture<Void> |
removeProxy(K key)
Asynchronously removes persisted state of bucket from underlying storage.
|
default <K1> AsyncProxyManager<K1> |
withMapper(Function<? super K1,? extends K> mapper)
Returns a proxy object that wraps this AsyncProxyManager such that keys are first mapped using the specified mapping function
before being sent to the remote store.
|
RemoteAsyncBucketBuilder<K> builder()
RemoteAsyncBucketBuilderRemoteAsyncBucketBuilderCompletableFuture<Void> removeProxy(K key)
key - the primary key of bucket which state need to be removed from underlying storage.CompletableFuture<Optional<BucketConfiguration>> getProxyConfiguration(K key)
key - the unique identifier used to point to the bucket in external storage.default <K1> AsyncProxyManager<K1> withMapper(Function<? super K1,? extends K> mapper)
K1 - the type of key accepted by returned AsyncProxyManagermapper - the mapper function to apply to keysCopyright © 2024. All rights reserved.