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