Interface TransientStoreProvider
- All Superinterfaces:
TransientStore
- All Known Implementing Classes:
AbstractTransientStore
,KeyValueBlobTransientStore
,MongoDBTransientStore
,SimpleTransientStore
Transient Store SPI.
- Since:
- 9.3
-
Method Summary
Modifier and TypeMethodDescriptionvoid
doGC()
Runs garbage collecting to delete the file system resources that are associated with entries that were removed.long
Returns the size (in bytes) of the disk storage used for blobs.void
init
(TransientStoreConfig config) Initializes the store from the givenconfig
.keySet()
Returns the set of keys for all entries.Returns aStream
of keys for all entries.void
Removes all entries from the store.void
shutdown()
Shuts down the store.Methods inherited from interface org.nuxeo.ecm.core.transientstore.api.TransientStore
exists, getBlobs, getParameter, getParameters, getSize, isCompleted, putBlobs, putParameter, putParameters, release, remove, setCompleted
-
Method Details
-
init
Initializes the store from the givenconfig
.- Since:
- 7.2
-
shutdown
void shutdown()Shuts down the store.- Since:
- 7.2
-
keySet
Returns the set of keys for all entries.- Since:
- 8.3
-
keyStream
Returns aStream
of keys for all entries.- Since:
- 9.3
-
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
-