public class DefaultOsgiPersistentCache extends Object implements OsgiPersistentCache
| Constructor and Description |
|---|
DefaultOsgiPersistentCache(File baseDir)
Constructs a cache, using the passed file as the base directory for cache subdirectories
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clear all caches
|
File |
getFrameworkBundleCache() |
File |
getOsgiBundleCache() |
File |
getTransformedPluginCache() |
void |
validate(String cacheValidationKey)
Validates the caches against a cache key.
|
public DefaultOsgiPersistentCache(File baseDir)
baseDir - The base directorypublic File getFrameworkBundleCache()
getFrameworkBundleCache in interface OsgiPersistentCachepublic File getOsgiBundleCache()
getOsgiBundleCache in interface OsgiPersistentCachepublic File getTransformedPluginCache()
getTransformedPluginCache in interface OsgiPersistentCachepublic void clear()
OsgiPersistentCacheclear in interface OsgiPersistentCachepublic void validate(String cacheValidationKey)
OsgiPersistentCachevalidate in interface OsgiPersistentCachecacheValidationKey - The cache key, can be anythingCopyright © 2021 Atlassian. All rights reserved.