Uses of Interface
org.cache2k.config.ConfigSection
-
Packages that use ConfigSection 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 ConfigSection in org.cache2k
Methods in org.cache2k with type parameters of type ConfigSection 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 ConfigSection in org.cache2k.config
Classes in org.cache2k.config with type parameters of type ConfigSection 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.Methods in org.cache2k.config with type parameters of type ConfigSection Modifier and Type Method Description <T extends ConfigSection<T,?>>
TSectionContainer. getSection(Class<T> sectionType)
<T extends ConfigSection<T,?>>
TSectionContainer. getSection(Class<T> sectionType, T defaultFallback)
Retrieve a single section from the container.Methods in org.cache2k.config that return types with arguments of type ConfigSection Modifier and Type Method Description Iterator<ConfigSection<?,?>>
SectionContainer. iterator()
Methods in org.cache2k.config with parameters of type ConfigSection Modifier and Type Method Description boolean
SectionContainer. add(ConfigSection<?,?> section)
Add a new configuration section to the container.Method parameters in org.cache2k.config with type arguments of type ConfigSection Modifier and Type Method Description void
Cache2kConfig. setSections(Collection<ConfigSection<?,?>> c)
Adds the collection of sections to the existing list.
-