public interface TransientStoreProvider extends TransientStore
Modifier and Type | Method and Description |
---|---|
void |
doGC()
Runs garbage collecting to delete the file system resources that are associated with entries that were removed.
|
long |
getStorageSize()
Returns the size (in bytes) of the disk storage used for blobs.
|
default int |
getStorageSizeMB()
Deprecated.
since 9.3 because it is imprecise, use
getStorageSize() instead |
void |
init(TransientStoreConfig config)
Initializes the store from the given
config . |
default Set<String> |
keySet()
Returns the set of keys for all entries.
|
Stream<String> |
keyStream()
Returns a
Stream of keys for all entries. |
void |
removeAll()
Removes all entries from the store.
|
void |
shutdown()
Shuts down the store.
|
exists, getBlobs, getParameter, getParameters, getSize, isCompleted, putBlobs, putParameter, putParameters, release, remove, setCompleted
void init(TransientStoreConfig config)
config
.void shutdown()
@Deprecated default int getStorageSizeMB()
getStorageSize()
insteadlong getStorageSize()
void doGC()
void removeAll()
Copyright © 2018 Nuxeo. All rights reserved.