org.ehcache.config.builders
Class WriteBehindConfigurationBuilder
java.lang.Object
org.ehcache.config.builders.WriteBehindConfigurationBuilder
- All Implemented Interfaces:
- Builder<WriteBehindConfiguration>
- Direct Known Subclasses:
- WriteBehindConfigurationBuilder.BatchedWriteBehindConfigurationBuilder, WriteBehindConfigurationBuilder.UnBatchedWriteBehindConfigurationBuilder
public abstract class WriteBehindConfigurationBuilder
- extends java.lang.Object
- implements Builder<WriteBehindConfiguration>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.ehcache.config.builders.Builder |
build |
concurrency
protected int concurrency
queueSize
protected int queueSize
threadPoolAlias
protected java.lang.String threadPoolAlias
newBatchedWriteBehindConfiguration
public static WriteBehindConfigurationBuilder.BatchedWriteBehindConfigurationBuilder newBatchedWriteBehindConfiguration(long maxDelay,
java.util.concurrent.TimeUnit maxDelayUnit,
int batchSize)
newUnBatchedWriteBehindConfiguration
public static WriteBehindConfigurationBuilder.UnBatchedWriteBehindConfigurationBuilder newUnBatchedWriteBehindConfiguration()
buildWith
public WriteBehindConfiguration buildWith(WriteBehindConfiguration.BatchingConfiguration batching)
queueSize
public abstract WriteBehindConfigurationBuilder queueSize(int size)
concurrencyLevel
public abstract WriteBehindConfigurationBuilder concurrencyLevel(int concurrency)
useThreadPool
public abstract WriteBehindConfigurationBuilder useThreadPool(java.lang.String alias)