Interface KeyValueStoreProvider

    • Method Detail

      • initialize

        void initialize​(KeyValueStoreDescriptor descriptor)
        Initializes this Key/Value store provider.
        Parameters:
        descriptor - the store provider descriptor
      • keyStream

        Stream<String> keyStream()
        Returns a Stream of the keys contained in this Key/Value store provider.

        This operation may be slow and should only be used for management or debug purposes.

        Returns:
        the stream of keys
        Since:
        9.3
      • keyStream

        Stream<String> keyStream​(String prefix)
        Returns a Stream of the keys with the given prefix contained in this Key/Value store provider.

        This operation may be slow and should only be used for management or debug purposes.

        Returns:
        the stream of keys
        Since:
        10.3
      • close

        void close()
        Closes this Key/Value store provider.
      • clear

        void clear()
        Clears the content of this Key/Value store provider.