Class CachingPluginStateStore

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

    public class CachingPluginStateStore
    extends Object
    implements com.atlassian.plugin.manager.PluginPersistentStateStore
    Wrapper for PluginPersistentStateStore that caches retrieved values.
    Since:
    5.5.4
    • Constructor Detail

      • CachingPluginStateStore

        public CachingPluginStateStore​(com.atlassian.plugin.manager.PluginPersistentStateStore delegate,
                                       com.atlassian.vcache.VCacheFactory 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