This class can be populated through:
ConfigurationFactory or
| Modifier and Type | Field and Description |
|---|---|
| private final CacheManager | |
| private final Configuration | |
| private final ClassLoader | |
| private static final Logger |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private Ehcache | |
| pack-priv final Ehcache | |
| public List | Returns: List of the decorated ehcaches, if any configured in ehcache.xml otherwise returns empty listthe cache cache)Creates decorated ehcaches for the cache, if any configured in ehcache.xml |
| public static CacheExceptionHandler | Returns: The CacheExceptionHandler, or null if it could not be found.Tries to create a CacheLoader from the configuration using the factory specified. |
| pack-priv final Ehcache | Returns: the cache, or null if there is no matchCreates a cache from configuration where the configuration cache name matches the given name |
| public final CacheManagerEventListener | Returns: If there is none returns null.Tries to load the class specified. |
| public Map | |
| public Map | Returns: a map of CacheManagerPeerProvidersTries to load the class specified otherwise defaults to null |
| public final Set | Returns: an empty set if there are none,Creates unitialised caches for each cache configuration found |
| private static Ehcache | createDecoratedCache(Ehcache cache, CacheConfiguration.
Creates the decorated cache from the decorator config specified. |
| public final Ehcache | |
| public static List | Returns: list of decorated cachesthe underlying cache that will be decorated cache, CacheConfiguration default cache configuration defaultCacheConfiguration, ClassLoader loader)Creates default cache decorators specified in the default cache configuration if any |
| public final Configuration | |
| public final String | |
| public static Class | Returns: attribute type as classsearch attribute sa, ClassLoader loader)
Deprecated
internal use only
|
| public final int | numberOfCachesThatUseDiskStorage()
Calculates the number of caches in the configuration that are diskPersistent |
| cacheManager | back to summary |
|---|---|
| private final CacheManager cacheManager | |
| configuration | back to summary |
|---|---|
| private final Configuration configuration | |
| loader | back to summary |
|---|---|
| private final ClassLoader loader | |
| LOG | back to summary |
|---|---|
| private static final Logger LOG | |
| ConfigurationHelper | back to summary |
|---|---|
| public ConfigurationHelper(CacheManager cacheManager, Configuration configuration) Only Constructor | |
| applyCacheExceptionHandler | back to summary |
|---|---|
| private Ehcache applyCacheExceptionHandler(CacheConfiguration cacheConfiguration, Ehcache cache) | |
| createCache | back to summary |
|---|---|
| pack-priv final Ehcache createCache(CacheConfiguration cacheConfiguration) Create a cache given a cache configuration | |
| createCacheDecorators | back to summary |
|---|---|
| public List Creates decorated ehcaches for the cache, if any configured in ehcache.xml | |
| createCacheExceptionHandler | back to summary |
|---|---|
| public static CacheExceptionHandler createCacheExceptionHandler(CacheConfiguration. Tries to create a CacheLoader from the configuration using the factory specified.
| |
| createCacheFromName | back to summary |
|---|---|
| pack-priv final Ehcache createCacheFromName(String name) Creates a cache from configuration where the configuration cache name matches the given name
| |
| createCacheManagerEventListener | back to summary |
|---|---|
| public final CacheManagerEventListener createCacheManagerEventListener(CacheManager cacheManager) throws CacheException Tries to load the class specified.
| |
| createCachePeerListeners | back to summary |
|---|---|
| public Map Tries to load the class specified otherwise defaults to null | |
| createCachePeerProviders | back to summary |
|---|---|
| public Map Tries to load the class specified otherwise defaults to null
| |
| createCaches | back to summary |
|---|---|
| public final Set Creates unitialised caches for each cache configuration found
| |
| createDecoratedCache | back to summary |
|---|---|
| private static Ehcache createDecoratedCache(Ehcache cache, CacheConfiguration. Creates the decorated cache from the decorator config specified. Returns null if the name of the factory class is not specified | |
| createDefaultCache | back to summary |
|---|---|
public final Ehcache createDefaultCache() throws CacheException
| |
| createDefaultCacheDecorators | back to summary |
|---|---|
| public static List Creates default cache decorators specified in the default cache configuration if any
| |
| getConfigurationBean | back to summary |
|---|---|
public final Configuration getConfigurationBean()
| |
| getDiskStorePath | back to summary |
|---|---|
public final String getDiskStorePath()
| |
| getSearchAttributeType | back to summary |
|---|---|
| public static Class Deprecated internal use only
| |
| numberOfCachesThatUseDiskStorage | back to summary |
|---|---|
| public final int numberOfCachesThatUseDiskStorage() Calculates the number of caches in the configuration that are diskPersistent | |