K
- type of keypublic interface Backend<K>
Modifier and Type | Method and Description |
---|---|
AsyncBackend<K> |
asAsync()
TODO
|
RemoteBucketBuilder<K> |
builder()
TODO fix javadocs
Constructs an instance of
DefaultBucketProxy which state actually stored inside in-memory data-jvm,
the bucket stored in the jvm immediately, so one network request will be issued to jvm. |
Optional<BucketConfiguration> |
getProxyConfiguration(K key)
Locates configuration of bucket which actually stored outside current JVM.
|
boolean |
isAsyncModeSupported()
TODO
Describes whether or not this backend supports asynchronous mode.
|
RemoteBucketBuilder<K> builder()
DefaultBucketProxy
which state actually stored inside in-memory data-jvm,
the bucket stored in the jvm immediately, so one network request will be issued to jvm.
Due to this method performs network IO, returned result must not be treated as light-weight entity,
it will be a performance anti-pattern to use this method multiple times for same key,
you need to cache result somewhere and reuse between invocations,
else performance of all operation with bucket will be 2-x times slower.Optional<BucketConfiguration> getProxyConfiguration(K key)
key
- the unique identifier used to point to the bucket in external storage.boolean isAsyncModeSupported()
AsyncBackend<K> asAsync()
Copyright © 2020. All rights reserved.