public interface CacheConfigurationProvider
| Modifier and Type | Method and Description |
|---|---|
<K,V> void |
augmentConfiguration(org.cache2k.CacheManager mgr,
org.cache2k.configuration.Cache2kConfiguration<K,V> cfg)
Called when
Cache2kBuilder.build() was called before the configuration is used
to create the cache. |
Iterable<String> |
getConfiguredCacheNames(org.cache2k.CacheManager mgr)
List of cache names found in the configuration.
|
org.cache2k.configuration.Cache2kConfiguration |
getDefaultConfiguration(org.cache2k.CacheManager mgr)
A new configuration instance for mutation with default values.
|
String |
getDefaultManagerName(ClassLoader classLoader)
Name for the default manager for the given class loader.
|
String getDefaultManagerName(ClassLoader classLoader)
org.cache2k.configuration.Cache2kConfiguration getDefaultConfiguration(org.cache2k.CacheManager mgr)
mgr - Manager the new cache will live in<K,V> void augmentConfiguration(org.cache2k.CacheManager mgr,
org.cache2k.configuration.Cache2kConfiguration<K,V> cfg)
Cache2kBuilder.build() was called before the configuration is used
to create the cache. If no name was specified in the application, the name in the
configuration is null.mgr - Manager the new cache will live incfg - the cache configurationcache2k API documentation. Copyright © 2000–2019 headissue GmbH, Munich.