# Interface CalendarCache

All Known Implementing Classes:
  `MemoryCalendarCache, StorageCalendarCache`

public interface CalendarCache
Persistence seam used by `CalendarSyncEngine`. Credentials must not be stored here.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `clear(String sourceId)`
  `Map<String,Object>`
  `load(String sourceId)`
  `void`
  `store(String sourceId, Map<String,Object> state)`

- ## Method Details

  - ### load

    Map<String,Object> load(String sourceId) throws CalendarException
    Throws:
      `CalendarException`

  - ### store

    void store(String sourceId, Map<String,Object> state) throws CalendarException
    Throws:
      `CalendarException`

  - ### clear

    void clear(String sourceId) throws CalendarException
    Throws:
      `CalendarException`