public class VisorCacheStoreConfiguration extends Object implements Serializable
| Constructor and Description |
|---|
VisorCacheStoreConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
int |
batchSize() |
void |
batchSize(int batchSize) |
boolean |
enabled() |
long |
flushFrequency() |
void |
flushFrequency(long flushFreq) |
int |
flushSize() |
void |
flushSize(int flushSize) |
int |
flushThreadCount() |
void |
flushThreadCount(int flushThreadCnt) |
static VisorCacheStoreConfiguration |
from(Ignite ignite,
CacheConfiguration ccfg) |
boolean |
jdbcStore() |
boolean |
readThrough() |
String |
store() |
String |
storeFactory() |
String |
toString() |
boolean |
writeBehindEnabled() |
void |
writeBehindEnabled(boolean writeBehindEnabled) |
boolean |
writeThrough() |
public static VisorCacheStoreConfiguration from(Ignite ignite, CacheConfiguration ccfg)
ccfg - Cache configuration.public boolean enabled()
true if cache has store.public boolean jdbcStore()
true if cache has JDBC store.public String storeFactory()
public boolean readThrough()
public boolean writeThrough()
public boolean writeBehindEnabled()
public void writeBehindEnabled(boolean writeBehindEnabled)
writeBehindEnabled - 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-RC3 Release Date : March 24 2015