}
} else {
if (useClassicLru && configuration.getMemoryStoreEvictionPolicy().equals(MemoryStoreEvictionPolicy.LRU)) {
Store disk = createDiskStore();
store = makeXaStrictTransactionalIfNeeded(new LegacyStoreWrapper(
new LruMemoryStore(this, disk), disk, registeredEventListeners, configuration), copyStrategy);
} else {
if (configuration.isDiskPersistent()) {
store = makeXaStrictTransactionalIfNeeded(DiskPersistentStore.create(this, diskStorePath), copyStrategy);
} else if (configuration.isOverflowToDisk()) {
store = makeXaStrictTransactionalIfNeeded(OverflowToDiskStore.create(this, diskStorePath), copyStrategy);