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 configuredAsyncBulkCacheLoader
with aCoalescingBulkLoader
and 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 void
disable(org.cache2k.Cache2kBuilder<?,?> b)
protected <K,V>
voiddoEnlist(org.cache2k.config.CacheBuildContext<K,V> ctx)
static CoalescingBulkLoaderSupport
enable(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:
doEnlist
in classorg.cache2k.config.ToggleFeature
-
getConfigClass
public Class<CoalescingBulkLoaderConfig> getConfigClass()
- Specified by:
getConfigClass
in interfaceorg.cache2k.config.WithSection<CoalescingBulkLoaderConfig,CoalescingBulkLoaderConfig.Builder>
-
-