Uses of Interface
org.cache2k.config.SectionBuilder
-
Packages that use SectionBuilder 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 SectionBuilder in org.cache2k
Methods in org.cache2k with type parameters of type SectionBuilder Modifier and Type Method Description <B extends SectionBuilder<B,CFG>,T extends ToggleFeature & WithSection<CFG,B>,CFG extends ConfigSection<CFG,B>>
Cache2kBuilder<K,V>Cache2kBuilder. enableWith(Class<T> featureType, Consumer<B> builderAction)
Enables a feature and configures its associated configuration section via its builder.<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.<B extends SectionBuilder<B,CFG>,CFG extends ConfigSection<CFG,B>>
Cache2kBuilder<K,V>Cache2kBuilder. with(Class<CFG> configSectionClass, Consumer<B> builderAction)
Configure a config section. -
Uses of SectionBuilder in org.cache2k.config
Classes in org.cache2k.config with type parameters of type SectionBuilder Modifier and Type Interface Description interface
ConfigSection<SELF extends ConfigSection<SELF,B>,B extends SectionBuilder<B,SELF>>
A configuration section.interface
SectionBuilder<SELF extends SectionBuilder<SELF,T>,T extends ConfigSection<T,SELF>>
Supports adding configuration sections via the builder pattern.interface
WithSection<CFG extends ConfigSection<CFG,B>,B extends SectionBuilder<B,CFG>>
Supplier for a customization that has its own config section.
-