Hi,

I am new to Ignite. When I enable write behind, I always get a warning
"Write-behind mode for the cache store also requires
CacheConfiguration.setWriteThrough(true) property." Why does write behind
require write through when I am using write behind only?

Here is my configuration

CacheConfiguration<String, Document> cconfig = new CacheConfiguration<>();
cconfig.setAtomicityMode(CacheAtomicityMode.ATOMIC);
cconfig.setCacheMode(CacheMode.PARTITIONED);
cconfig.setName(Constants.DocCacheName);
cconfig.setExpiryPolicyFactory(TouchedExpiryPolicy.factoryOf(new
Duration(TimeUnit.SECONDS, cacheConfig.cacheExpirySecs)));

cconfig.setWriteBehindEnabled(true);
cconfig.setWriteBehindFlushFrequency(cacheConfig.writeBehindFlushIntervalSec);
// MS


Thanks

Ken

Reply via email to