Uses of Interface
org.cache2k.config.CustomizationSupplier
-
Packages that use CustomizationSupplier 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. -
-
Uses of CustomizationSupplier in org.cache2k
Methods in org.cache2k with type parameters of type CustomizationSupplier Modifier and Type Method Description <B extends SectionBuilder<B,CFG>,CFG extends ConfigSection<CFG,B>,SUP extends WithSection<CFG,B> & CustomizationSupplier<?>>
Cache2kBuilder<K,V>Cache2kBuilder. setupWith(Function<Cache2kBuilder<K,V>,SUP> setupAction, Consumer<B> builderAction)
Execute setup code for a feature or customization and configure its associated configuration section via its builder.Methods in org.cache2k with parameters of type CustomizationSupplier Modifier and Type Method Description Cache2kBuilder<K,V>
Cache2kBuilder. resiliencePolicy(CustomizationSupplier<? extends ResiliencePolicy<? super K,? super V>> v)
-
Uses of CustomizationSupplier in org.cache2k.config
Subinterfaces of CustomizationSupplier in org.cache2k.config Modifier and Type Interface Description interface
DataCustomizationSupplier<K,V,T extends DataAwareCustomization<K,V>>
Classes in org.cache2k.config that implement CustomizationSupplier Modifier and Type Class Description class
CustomizationReferenceSupplier<T>
A reference to the customization to be used is set while building the cache.class
CustomizationSupplierByClassName<T>
Creates a new instance of the customization based on the class name and the class loader in effect by the cache.Methods in org.cache2k.config that return types with arguments of type CustomizationSupplier Modifier and Type Method Description @NonNull Collection<CustomizationSupplier<CacheEntryOperationListener<K,V>>>
Cache2kConfig. getAsyncListeners()
A set of listeners.@NonNull Collection<CustomizationSupplier<? extends CacheLifecycleListener>>
Cache2kConfig. getLifecycleListeners()
A set of listeners.@NonNull Collection<CustomizationSupplier<CacheEntryOperationListener<K,V>>>
Cache2kConfig. getListeners()
A set of listeners.Method parameters in org.cache2k.config with type arguments of type CustomizationSupplier Modifier and Type Method Description void
Cache2kConfig. setAsyncListeners(Collection<CustomizationSupplier<CacheEntryOperationListener<K,V>>> c)
Adds the collection of customizations to the existing list.void
Cache2kConfig. setLifecycleListeners(@NonNull Collection<CustomizationSupplier<? extends CacheLifecycleListener>> c)
Adds the collection of customizations to the existing list.void
Cache2kConfig. setListeners(Collection<CustomizationSupplier<CacheEntryOperationListener<K,V>>> c)
Adds the collection of customizations to the existing list.
-