Protected ReadonlydefaultsProtected ReadonlyfileProtected OptionalindexProtected ReadonlyloggerProtected ReadonlypreferenceProtectedstorageProtected OptionalstorageProtected ReadonlystorageProtectedstoreProtected OptionalworkspaceProtected ReadonlyworkspaceDelete specified session
ProtectedensureEnsures the storage directory exists and is initialized on disk. This should be called before any disk I/O operations.
ProtectedgetProtectedgetGet index of all stored sessions. Note: This may trigger storage initialization if not already initialized.
ProtectedgetProtectedgetGets the storage root URI. Use ensureStorageReady when you need actually to access the storage.
ProtectedgetProtectedhasCheck if there are persisted sessions available This has the benefit of not initializing the storage on disk if it does not already exist.
ProtectedinitProtectedinitializeInitializes the storage directory on disk, creating it if necessary and seeding it from global storage for new workspace storage locations.
ProtectedinvalidateProtectedisProtectedloadProtectedmigrateProtectedresolveProtectedresolveResolves the storage root URI based on configuration.
The storage configuration to use
Whether to log debug messages (defaults to not log)
ProtectedsaveProtectedseedStores the handed over sessions.
Might overwrite existing sessions when maximum storage capacity is exceeded.
ProtectedtrimProtectedupdateProtectedupdateSets up or tears down the workspace change listener based on the current storage scope. When scope is 'workspace', we need to listen for changing out of the first root to invalidate the cache. When scope is 'global', no workspace listener is needed at all.
Deletes all sessions