Interface CommonContextPersister
- All Known Implementing Classes:
XStreamQueuePersisterImpl
@Internal
public interface CommonContextPersister
Classes implementing this interface of peristence for common contexts.
-
Method Summary
Modifier and TypeMethodDescription@NotNull CommonContextMap.ContextWithMetadata@NotNull Stream<CommonContextMap.ContextWithMetadata> loadAll()Lazily loads all stored objects and removes files from storage.voidvoidsave(@NotNull CommonContextMap.ContextWithMetadata context)
-
Method Details
-
load
@NotNull @NotNull CommonContextMap.ContextWithMetadata load(@NotNull @NotNull ResultKey resultKey) throws FileNotFoundException - Throws:
FileNotFoundException
-
save
-
remove
-
loadAll
Lazily loads all stored objects and removes files from storage.
-