Interface ExportableSdkCache

All Known Implementing Classes:
ProfileCacheImpl, SportEventCacheImpl, SportsDataCacheImpl

public interface ExportableSdkCache
Defines a contract for classes implementing cache export/import functionally
  • Method Details

    • exportItems

      List<ExportableCi> exportItems()
      Exports current items in the cache
      Returns:
      List of ExportableCi containing all the items currently in the cache
    • importItems

      void importItems(List<ExportableCi> items)
      Imports provided items into the cache
      Parameters:
      items - List of ExportableCi to be inserted into the cache
    • cacheStatus

      Map<String,Long> cacheStatus()
      Returns current cache status
      Returns:
      A map containing all cache item types in the cache and their counts