| java.lang.Object | |
| ↳ | com.atlassian.plugin.osgi.container.impl.DefaultOsgiPersistentCache |
Default implementation of persistent cache. Handles clearing of directories if an upgrade has been detected.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a cache, using the passed file as the base directory for cache subdirectories
| |||||||||||
This constructor is deprecated.
No replacement.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Clear all caches
| |||||||||||
Validates the caches against a cache key.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.atlassian.plugin.osgi.container.OsgiPersistentCache
| |||||||||||
Constructs a cache, using the passed file as the base directory for cache subdirectories
| baseDir | The base directory |
|---|
This constructor is deprecated.
No replacement.
Constructor added in the 2.2.0 beta timeframe, but was made redundant later. Application version is not used.
Validates the caches against a cache key. If the key changes, the directories are wiped clean.
| cacheValidationKey | The cache key, can be anything |
|---|