public class VisorWriteBehindConfig extends Object implements Serializable
| Constructor and Description |
|---|
VisorWriteBehindConfig() |
| 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 VisorWriteBehindConfig |
from(GridCacheConfiguration ccfg) |
String |
toString() |
public static VisorWriteBehindConfig from(GridCacheConfiguration 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.Copyright © 2014. All rights reserved.