private static final boolean USE_ASYNC_STORE = true;
private static ConfigurationBuilder config(boolean passivation, int threads) {
ConfigurationBuilder config = new ConfigurationBuilder();
config.expiration().wakeUpInterval(100);
config.eviction().maxEntries(1).strategy(EvictionStrategy.LRU);
config.persistence()
.passivation(passivation)
.addStore(LockableStoreConfigurationBuilder.class)
.async()
.enabled(USE_ASYNC_STORE)