Interface ProxyManager<K>

    • Method Detail

      • getProxyConfiguration

        Optional<BucketConfiguration> getProxyConfiguration​(K key)
        Locates configuration of bucket which actually stored in the underlying storage.
        Parameters:
        key - the unique identifier used to point to the bucket in external storage.
        Returns:
        Optional surround the configuration or empty optional if bucket with specified key is not stored.
      • removeProxy

        void removeProxy​(K key)
        Removes persisted state of bucket from underlying storage.
        Parameters:
        key - the primary key of bucket which state need to be removed from underlying storage.
      • isAsyncModeSupported

        boolean isAsyncModeSupported()
        Describes whether or not this manager supports asynchronous API. If this method returns false then any invocation of asAsync() will throw UnsupportedOperationException.
        Returns:
        true if this extension supports asynchronous API