Class CacheFactory
java.lang.Object
is.galia.cache.CacheFactory
-
Method Summary
Modifier and TypeMethodDescriptionstatic Set<VariantCache> Provides access to the sharedInfoCacheinstance.static Set<VariantCache> static Optional<VariantCache> Provides access to the sharedVariantCacheinstance.static void
-
Method Details
-
getAllInfoCaches
-
getPluginInfoCaches
- Returns:
- Set of instances of all info caches provided by plugins. The
instances have not been
initialized.
-
getAllVariantCaches
- Returns:
- Set of instances of all available variant caches.
-
getPluginVariantCaches
- Returns:
- Set of instances of all variant caches provided by plugins.
-
getInfoCache
-
getVariantCache
Provides access to the shared
VariantCacheinstance.This method respects live changes in application configuration.
- Returns:
- The shared instance, or
nullif a variant cache is not available.
-
shutdownCaches
public static void shutdownCaches()
-