public class VisorCacheWriteBehindConfiguration extends Object implements Serializable
| Constructor and Description |
|---|
VisorCacheWriteBehindConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
int |
batchSize() |
void |
batchSize(int batchSize) |
boolean |
enabled() |
void |
enabled(boolean enabled) |
long |
flushFrequency() |
void |
flushFrequency(long flushFreq) |
int |
flushSize() |
void |
flushSize(int flushSize) |
int |
flushThreadCount() |
void |
flushThreadCount(int flushThreadCnt) |
static VisorCacheWriteBehindConfiguration |
from(CacheConfiguration ccfg) |
String |
toString() |
public static VisorCacheWriteBehindConfiguration from(CacheConfiguration ccfg)
ccfg - Cache configuration.public boolean enabled()
public void enabled(boolean enabled)
enabled - New flag indicating whether write-behind behaviour should be used for the cache store.public int batchSize()
public void batchSize(int batchSize)
batchSize - New maximum batch size for write-behind cache store operations.public long flushFrequency()
public void flushFrequency(long flushFreq)
flushFreq - New frequency with which write-behind cache is flushed to the cache store in milliseconds.public int flushSize()
public void flushSize(int flushSize)
flushSize - New maximum object count in write-behind cache.public int flushThreadCount()
public void flushThreadCount(int flushThreadCnt)
flushThreadCnt - New number of threads that will perform cache flushing.
Follow @ApacheIgnite
Ignite Fabric : ver. 1.0.0-RC1 Release Date : February 17 2015