Class DefaultOsgiPersistentCache

java.lang.Object
com.atlassian.plugin.osgi.container.impl.DefaultOsgiPersistentCache
All Implemented Interfaces:
OsgiPersistentCache

public class DefaultOsgiPersistentCache extends Object implements OsgiPersistentCache
Default implementation of persistent cache. Handles clearing of directories if an upgrade has been detected.
Since:
2.2.0
  • Constructor Details

    • DefaultOsgiPersistentCache

      public DefaultOsgiPersistentCache(File baseDir)
      Constructs a cache, using the passed file as the base directory for cache subdirectories
      Parameters:
      baseDir - The base directory
  • Method Details