|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface WriteBehindConfiguration.BatchingConfiguration
The batching specific part of WriteBehindConfiguration
.
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. |
Method Detail |
---|
int getBatchSize()
Only positive values are legal. A value of 1 indicates that no batching should happen. Real batch size will be influenced by the write rate and the max write delay.
long getMaxDelay()
java.util.concurrent.TimeUnit getMaxDelayUnit()
boolean isCoalescing()
Write coalescing ensure that operations within a batch for the same key will be coalesced in to a single write operation.
true
if write coalescing enabled
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |