The cache configuration as a Java bean and support types.
- Jens Wilke
Interface Summary Interface Description BeanMarkerMarks the class as bean compatible, meaning, it has a public default constructor and getter and setters for all its properties. CacheBuildContext<K,V>Access to configuration and cache manager properties during the construction of the cache object. CacheType<T>A data structure to retain all known type information from the key and value types, including generic parameters within the cache configuration. CacheWrapperWraps a cache in order to add functionality like tracing. ConfigBean<SELF extends ConfigBean<SELF,B>,B extends ConfigBuilder<B,SELF>>Marker for cache configuration beans. ConfigBuilder<SELF extends ConfigBuilder<SELF,T>,T extends ConfigBean<T,SELF>> ConfigSection<SELF extends ConfigSection<SELF,B>,B extends SectionBuilder<B,SELF>>A configuration section. ConfigWithSectionsIf the configuration bean has additional sub configuration beans, then it implements this interface. CustomizationSupplier<T>Supplies cache customizations like
DataCustomizationSupplier<K,V,T extends DataAwareCustomization<K,V>> FeatureFeatures need to properly implement
SectionBuilder<SELF extends SectionBuilder<SELF,T>,T extends ConfigSection<T,SELF>>Supports adding configuration sections via the builder pattern. SingleFeatureFeature that distinct type is only present once. ValidatingConfigBeanConfiguration bean that is able to validate itself. WithSection<CFG extends ConfigSection<CFG,B>,B extends SectionBuilder<B,CFG>>Supplier for a customization that has its own config section.
Class Summary Class Description Cache2kConfig<K,V>Configuration for a cache2k cache. Cache2kManagerConfigConfiguration options for a cache manager. Cache2kManagerConfig.Builder CacheTypeCapture<T>Helper class to capture generic types into a type descriptor. CacheTypeCapture.OfArrayCacheType representing an array. CacheTypeCapture.OfClass<T>CacheType representing a class. CacheTypeCapture.OfGeneric<T>CacheType representing a generic type. CustomizationReferenceSupplier<T>A reference to the customization to be used is set while building the cache. CustomizationSupplierByClassName<T>Creates a new instance of the customization based on the class name and the class loader in effect by the cache. SectionContainerContainer for configuration objects. ToggleFeatureBase class for a cache feature that can be enabled or disables and appears only once in the feature set.