Interface TransientStoreService
-
- All Known Implementing Classes:
TransientStorageComponent
public interface TransientStoreService
Service to expose access toTransientStore
- Since:
- 7.2
- Author:
- Tiry
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
doGC()
Triggers Garbage collecting of allTransientStore
void
doGC(String name)
Triggers Garbage collecting for aTransientStore
.TransientStore
getStore(String name)
Retrieves aTransientStore
by it's name.Set<String>
listStores()
List contributed transient storage names
-
-
-
Method Detail
-
getStore
TransientStore getStore(String name)
Retrieves aTransientStore
by it's name.If the
TransientStore
is not found, returns the default one.- Parameters:
name
- the name of the targetTransientStore
- Returns:
- the target
TransientStore
or the default one if not found
-
doGC
void doGC()
Triggers Garbage collecting of allTransientStore
-
doGC
void doGC(String name)
Triggers Garbage collecting for aTransientStore
.- Parameters:
name
- the name of the targetTransientStore
- Since:
- 2021.17
-
-