|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ehcache.core.config.loaderwriter.writebehind.DefaultBatchingConfiguration
public class DefaultBatchingConfiguration
Constructor Summary | |
---|---|
DefaultBatchingConfiguration(long maxDelay,
java.util.concurrent.TimeUnit maxDelayUnit,
int batchSize,
boolean coalescing)
|
Method Summary | |
---|---|
int |
getBatchSize()
The recommended size of a batch of operations. |
long |
getMaxDelay()
The maximum time to wait before writing behind. |
java.util.concurrent.TimeUnit |
getMaxDelayUnit()
The time unit for the maximum delay. |
boolean |
isCoalescing()
Whether write operations can be coalesced. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultBatchingConfiguration(long maxDelay, java.util.concurrent.TimeUnit maxDelayUnit, int batchSize, boolean coalescing)
Method Detail |
---|
public long getMaxDelay()
WriteBehindConfiguration.BatchingConfiguration
getMaxDelay
in interface WriteBehindConfiguration.BatchingConfiguration
public java.util.concurrent.TimeUnit getMaxDelayUnit()
WriteBehindConfiguration.BatchingConfiguration
getMaxDelayUnit
in interface WriteBehindConfiguration.BatchingConfiguration
public boolean isCoalescing()
WriteBehindConfiguration.BatchingConfiguration
isCoalescing
in interface WriteBehindConfiguration.BatchingConfiguration
public int getBatchSize()
WriteBehindConfiguration.BatchingConfiguration
getBatchSize
in interface WriteBehindConfiguration.BatchingConfiguration
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |