Interface KeyValueStore<K,​V>

    • Method Detail

      • connect

        static <K,​V,​T extends KeyValueStore<K,​V>> T connect​(@NonNull
                                                                              @NonNull String connectionString)
      • commit

        void commit()
        Commits changes to the key-value store to be persisted
      • getNameSpace

        String getNameSpace()
        Gets the namespace of the key-value store
        Returns:
        the name space
      • sizeAsLong

        long sizeAsLong()
        Gets the number of keys in the store as a long
        Returns:
        the number of keys in the store
      • isReadOnly

        boolean isReadOnly()
        Is this key-value store read-only?
        Returns:
        True - read only, False - writeable