Package org.cache2k.configuration
Interface CacheBuildContext
-
public interface CacheBuildContext
Access to configuration and cache manager properties during the construction of the cache object.- Author:
- Jens Wilke
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CacheManager
getCacheManager()
Assigned cache manager.<K,V>
Cache2kConfiguration<K,V>getConfiguration()
The effective cache configuration.String
getName()
The cache name.
-
-
-
Method Detail
-
getCacheManager
CacheManager getCacheManager()
Assigned cache manager. This can be useful to retrieve resources via the propertiesCacheManager.getProperties()
-
getName
String getName()
The cache name. Always identical toCache2kConfiguration.getName()
-
getConfiguration
<K,V> Cache2kConfiguration<K,V> getConfiguration()
The effective cache configuration. The data is only valid within the call. Customizations must copy the relevant configuration parameters and not hold a reference to the configuration object.
-
-