use of org.infinispan.persistence.dummy.DummyInMemoryStoreConfigurationBuilder in project infinispan by infinispan.
the class StateTransferFetchOnlyPersistentStateTest method createConfiguration.
private ConfigurationBuilder createConfiguration(int id) {
ConfigurationBuilder cfg = getDefaultClusteredCacheConfig(CacheMode.REPL_SYNC, true);
cfg.clustering().stateTransfer().fetchInMemoryState(false);
DummyInMemoryStoreConfigurationBuilder dimcs = new DummyInMemoryStoreConfigurationBuilder(cfg.persistence());
dimcs.storeName("store id: " + id);
dimcs.fetchPersistentState(true).shared(false);
cfg.persistence().addStore(dimcs);
return cfg;
}
Aggregations