Title: Sample Programatic Configuration Describe the issue: Configuration cacheConfig = new ConfigurationBuilder().loaders() .addLoader(LevelDBCacheStoreConfigurationBuilder.class) .location("/tmp/leveldb/data") .expiredLocation("/tmp/leveldb/expired") .build(); Suggestions for improvement: Configuration cacheConfig = new ConfigurationBuilder().persistence().addStore(LevelDBStoreConfigurationBuilder.class).location("/tmp/leveldb/data") .expiredLocation("/tmp/leveldb/expired").build(); Additional information:
There is duplicated options 4.Set Up expired location Set the expiredLocation for the leveldb store. <<< 5. The other parameters | Set the expiredLocation for the leveldb store. <<< This is the same. I think 5 should be something following 5. Finally, generate cache configuration with leveldb store
The fix for this bug is now generally released and available here: https://access.redhat.com/site/documentation/en-US/Red_Hat_JBoss_Data_Grid/6.2/index.html