Interface TransientStoreProvider

    • Method Detail

      • shutdown

        void shutdown()
        Shuts down the store.
        Since:
        7.2
      • keySet

        default Set<StringkeySet()
        Returns the set of keys for all entries.
        Since:
        8.3
      • getStorageSizeMB

        @Deprecated
        default int getStorageSizeMB()
        Deprecated.
        since 9.3 because it is imprecise, use getStorageSize() instead
        Returns the size (in MB) of the disk storage used for blobs.
        Returns:
        the number of MB (rounded down) used by stored blobs
        Since:
        7.2
      • getStorageSize

        long getStorageSize()
        Returns the size (in bytes) of the disk storage used for blobs.
        Returns:
        the number of bytes used by stored blobs
        Since:
        9.3
      • doGC

        void doGC()
        Runs garbage collecting to delete the file system resources that are associated with entries that were removed.
        Since:
        7.2
      • removeAll

        void removeAll()
        Removes all entries from the store.
        Since:
        7.2