Uses of Class
org.cache2k.config.Cache2kConfig
-
Packages that use Cache2kConfig Package Description org.cache2k Main package for cache2k API containing functions to build and access a cache.org.cache2k.config The cache configuration as a Java bean and support types.org.cache2k.spi Service provider interface that is used by the cache2k implementation. -
-
Uses of Cache2kConfig in org.cache2k
Methods in org.cache2k that return Cache2kConfig Modifier and Type Method Description Cache2kConfig<K,V>
Cache2kBuilder. config()
Returns the configuration object this builder operates on.Methods in org.cache2k with parameters of type Cache2kConfig Modifier and Type Method Description abstract <K,V>
Cache<K,V>CacheManager. createCache(Cache2kConfig<K,V> cfg)
Create a new cache from the configuration.static <K,V>
Cache2kBuilder<K,V>Cache2kBuilder. of(Cache2kConfig<K,V> c)
Create a builder from the configuration bean.Method parameters in org.cache2k with type arguments of type Cache2kConfig Modifier and Type Method Description Cache2kBuilder<K,V>
Cache2kBuilder. set(Consumer<Cache2kConfig<K,V>> configAction)
Execute on the underlying configuration object. -
Uses of Cache2kConfig in org.cache2k.config
Methods in org.cache2k.config that return Cache2kConfig Modifier and Type Method Description Cache2kConfig<K,V>
CacheBuildContext. getConfig()
The effective cache configuration.static <K,V>
Cache2kConfig<K,V>Cache2kConfig. of(Class<K> keyType, Class<V> valueType)
Construct a config instance setting the type parameters and returning a proper generic type.static <K,V>
Cache2kConfig<K,V>Cache2kConfig. of(CacheType<K> keyType, CacheType<V> valueType)
Construct a config instance setting the type parameters and returning a proper generic type. -
Uses of Cache2kConfig in org.cache2k.spi
Methods in org.cache2k.spi that return Cache2kConfig Modifier and Type Method Description Cache2kConfig<?,?>
Cache2kCoreProvider. getDefaultConfig(CacheManager m)
Return the effective default configuration for this manager.Methods in org.cache2k.spi with parameters of type Cache2kConfig Modifier and Type Method Description <K,V>
Cache<K,V>Cache2kCoreProvider. createCache(CacheManager m, Cache2kConfig<K,V> cfg)
Create a cache, apply external configuration before creating it.
-