Interface ExportableSdkCache
- All Known Implementing Classes:
ProfileCacheImpl,SportEventCacheImpl,SportsDataCacheImpl
public interface ExportableSdkCache
Defines a contract for classes implementing cache export/import functionally
-
Method Summary
Modifier and TypeMethodDescriptionReturns current cache statusExports current items in the cachevoidimportItems(List<ExportableCi> items) Imports provided items into the cache
-
Method Details
-
exportItems
List<ExportableCi> exportItems()Exports current items in the cache- Returns:
- List of
ExportableCicontaining all the items currently in the cache
-
importItems
Imports provided items into the cache- Parameters:
items- List ofExportableCito be inserted into the cache
-
cacheStatus
Returns current cache status- Returns:
- A map containing all cache item types in the cache and their counts
-