<distributed-cache name="distributedCache" owners="2" segments="100" capacity-factor="2" />
<distributed-cache name="distributedCache" owners="2" segments="100" capacity-factor="2" />
Copy to Clipboard
Copied!
Toggle word wrap
Toggle overflow
Configuration c = new ConfigurationBuilder()
.clustering()
.cacheMode(CacheMode.DIST_SYNC)
.hash()
.numOwners(2)
.numSegments(100)
.capacityFactor(2)
.build();
Configuration c = new ConfigurationBuilder()
.clustering()
.cacheMode(CacheMode.DIST_SYNC)
.hash()
.numOwners(2)
.numSegments(100)
.capacityFactor(2)
.build();
Copy to Clipboard
Copied!
Toggle word wrap
Toggle overflow