Package org.cache2k.addon
Class CoalescingBulkLoaderConfig
- java.lang.Object
-
- org.cache2k.addon.CoalescingBulkLoaderConfig
-
- All Implemented Interfaces:
org.cache2k.config.BeanMarker
,org.cache2k.config.ConfigBean<CoalescingBulkLoaderConfig,CoalescingBulkLoaderConfig.Builder>
,org.cache2k.config.ConfigSection<CoalescingBulkLoaderConfig,CoalescingBulkLoaderConfig.Builder>
public class CoalescingBulkLoaderConfig extends Object implements org.cache2k.config.ConfigSection<CoalescingBulkLoaderConfig,CoalescingBulkLoaderConfig.Builder>
Configuration options forCoalescingBulkLoaderSupport
.- Author:
- Jens Wilke
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CoalescingBulkLoaderConfig.Builder
-
Constructor Summary
Constructors Constructor Description CoalescingBulkLoaderConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CoalescingBulkLoaderConfig.Builder
builder()
int
getMaxBatchSize()
long
getMaxDelay()
boolean
isRefreshOnly()
void
setMaxBatchSize(int maxBatchSize)
void
setMaxDelay(long maxDelay)
Delay in milliseconds.void
setRefreshOnly(boolean refreshOnly)
-
-
-
Method Detail
-
getMaxDelay
public long getMaxDelay()
-
setMaxDelay
public void setMaxDelay(long maxDelay)
Delay in milliseconds.
-
getMaxBatchSize
public int getMaxBatchSize()
-
setMaxBatchSize
public void setMaxBatchSize(int maxBatchSize)
-
isRefreshOnly
public boolean isRefreshOnly()
-
setRefreshOnly
public void setRefreshOnly(boolean refreshOnly)
-
builder
public CoalescingBulkLoaderConfig.Builder builder()
- Specified by:
builder
in interfaceorg.cache2k.config.ConfigBean<CoalescingBulkLoaderConfig,CoalescingBulkLoaderConfig.Builder>
- Specified by:
builder
in interfaceorg.cache2k.config.ConfigSection<CoalescingBulkLoaderConfig,CoalescingBulkLoaderConfig.Builder>
-
-