Interface JSONStorage
- All Superinterfaces:
SubSystem
- All Known Implementing Classes:
JSONFileStorage
,JSONMemoryStorageShim
In charge of storing json somewhere for later retrieval.
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
disable()
Performs disable actions for the subsystemdefault void
enable()
Performs enable actions for the subsystem.fetchExactJson
(String identifier, long timestamp) fetchJsonMadeAfter
(String identifier, long timestamp) fetchJsonMadeBefore
(String identifier, long timestamp) void
invalidateOlder
(String identifier, long timestamp) default JSONStorage.StoredJSON
default JSONStorage.StoredJSON
default JSONStorage.StoredJSON
-
Method Details
-
enable
default void enable()Description copied from interface:SubSystem
Performs enable actions for the subsystem. -
disable
default void disable()Description copied from interface:SubSystem
Performs disable actions for the subsystem -
storeJson
-
storeJson
-
storeJson
-
storeJson
-
fetchJSON
-
fetchExactJson
-
fetchJsonMadeBefore
-
fetchJsonMadeAfter
-
invalidateOlder
-