# Class StorageCalendarCache

java.lang.Object
com.codename1.calendar.StorageCalendarCache

All Implemented Interfaces:
  `CalendarCache`

public class StorageCalendarCache extends Object implements CalendarCache
Opt-in persistent cache backed by application `Storage`.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `StorageCalendarCache(String namespace)`

- ## 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)`

  ### Methods inherited from class Object

  `clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### StorageCalendarCache

    public StorageCalendarCache(String namespace)

- ## Method Details

  - ### load

    public Map<String,Object> load(String sourceId) throws CalendarException
    Specified by:
      `load` in interface `CalendarCache`
    Throws:
      `CalendarException`

  - ### store

    public void store(String sourceId, Map<String,Object> state) throws CalendarException
    Specified by:
      `store` in interface `CalendarCache`
    Throws:
      `CalendarException`

  - ### clear

    public void clear(String sourceId)
    Specified by:
      `clear` in interface `CalendarCache`