Uses of Interface
org.cache2k.config.CacheBuildContext
-
Packages that use CacheBuildContext Package Description org.cache2k.config The cache configuration as a Java bean and support types.org.cache2k.event Events that are fired on behalf of a cache operation. -
-
Uses of CacheBuildContext in org.cache2k.config
Methods in org.cache2k.config with parameters of type CacheBuildContext Modifier and Type Method Description protected abstract <K,V>
voidToggleFeature. doEnlist(CacheBuildContext<K,V> ctx)
<K,V>
voidFeature. enlist(CacheBuildContext<K,V> ctx)
The feature enables itself by augmenting the cache config.<K,V>
voidToggleFeature. enlist(CacheBuildContext<K,V> ctx)
Checks whether enabled and call implementations doEnlist method.T
CustomizationReferenceSupplier. supply(CacheBuildContext<?,?> ignored)
T
CustomizationSupplier. supply(CacheBuildContext<?,?> buildContext)
Create or return an existing customization instance.T
CustomizationSupplierByClassName. supply(CacheBuildContext<?,?> ctx)
<K,V>
Cache<K,V>CacheWrapper. wrap(CacheBuildContext<K,V> context, Cache<K,V> cache)
-
Uses of CacheBuildContext in org.cache2k.event
Methods in org.cache2k.event with parameters of type CacheBuildContext Modifier and Type Method Description <K,V>
CompletableFuture<Void>CacheCreatedListener. onCacheCreated(Cache<K,V> cache, CacheBuildContext<K,V> ctx)
A new cache has been created.
-