Package org.cache2k.addon
Class CoalescingBulkLoaderSupport
- java.lang.Object
-
- org.cache2k.config.ToggleFeature
-
- org.cache2k.addon.CoalescingBulkLoaderSupport
-
- All Implemented Interfaces:
org.cache2k.config.Feature,org.cache2k.config.SingleFeature,org.cache2k.config.WithSection<CoalescingBulkLoaderConfig,CoalescingBulkLoaderConfig.Builder>
public class CoalescingBulkLoaderSupport extends org.cache2k.config.ToggleFeature implements org.cache2k.config.WithSection<CoalescingBulkLoaderConfig,CoalescingBulkLoaderConfig.Builder>
Wraps a configuredAsyncBulkCacheLoaderwith aCoalescingBulkLoaderand configures it withCoalescingBulkLoaderConfig.- Author:
- Jens Wilke
-
-
Constructor Summary
Constructors Constructor Description CoalescingBulkLoaderSupport()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voiddisable(org.cache2k.Cache2kBuilder<?,?> b)protected <K,V>
voiddoEnlist(org.cache2k.config.CacheBuildContext<K,V> ctx)static CoalescingBulkLoaderSupportenable(org.cache2k.Cache2kBuilder<?,?> b)Class<CoalescingBulkLoaderConfig>getConfigClass()
-
-
-
Method Detail
-
enable
public static CoalescingBulkLoaderSupport enable(org.cache2k.Cache2kBuilder<?,?> b)
-
disable
public static void disable(org.cache2k.Cache2kBuilder<?,?> b)
-
doEnlist
protected <K,V> void doEnlist(org.cache2k.config.CacheBuildContext<K,V> ctx)
- Specified by:
doEnlistin classorg.cache2k.config.ToggleFeature
-
getConfigClass
public Class<CoalescingBulkLoaderConfig> getConfigClass()
- Specified by:
getConfigClassin interfaceorg.cache2k.config.WithSection<CoalescingBulkLoaderConfig,CoalescingBulkLoaderConfig.Builder>
-
-