public class DummyConfigurationProvider extends Object implements CacheConfigurationProvider
| Constructor and Description |
|---|
DummyConfigurationProvider() |
| 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.
|
public String getDefaultManagerName(ClassLoader classLoader)
CacheConfigurationProvidergetDefaultManagerName in interface CacheConfigurationProviderpublic org.cache2k.configuration.Cache2kConfiguration getDefaultConfiguration(org.cache2k.CacheManager mgr)
CacheConfigurationProvidergetDefaultConfiguration in interface CacheConfigurationProvidermgr - Manager the new cache will live inpublic <K,V> void augmentConfiguration(org.cache2k.CacheManager mgr,
org.cache2k.configuration.Cache2kConfiguration<K,V> cfg)
CacheConfigurationProviderCache2kBuilder.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.augmentConfiguration in interface CacheConfigurationProvidermgr - Manager the new cache will live incfg - the cache configurationpublic Iterable<String> getConfiguredCacheNames(org.cache2k.CacheManager mgr)
CacheConfigurationProvidergetConfiguredCacheNames in interface CacheConfigurationProvidercache2k API documentation. Copyright © 2000–2019 headissue GmbH, Munich.