Class CachingPluginPersistentStateStore

  • All Implemented Interfaces:
    com.atlassian.plugin.manager.PluginPersistentStateStore

    public class CachingPluginPersistentStateStore
    extends Object
    implements com.atlassian.plugin.manager.PluginPersistentStateStore
    Wrapper for PluginPersistentStateStore that caches the PluginPersistentState.
    Since:
    8.0
    • Constructor Detail

      • CachingPluginPersistentStateStore

        public CachingPluginPersistentStateStore​(com.atlassian.plugin.manager.PluginPersistentStateStore delegate,
                                                 com.atlassian.cache.CacheFactory cacheFactory)
    • Method Detail

      • save

        public void save​(com.atlassian.plugin.manager.PluginPersistentState state)
        Specified by:
        save in interface com.atlassian.plugin.manager.PluginPersistentStateStore
      • load

        public com.atlassian.plugin.manager.PluginPersistentState load()
        Specified by:
        load in interface com.atlassian.plugin.manager.PluginPersistentStateStore