}
}
if (loader != null) {
if (loader instanceof FileCacheStore) {
FileCacheStoreConfigurationBuilder fcscb = builder.loaders().addFileCacheStore();
if (fetchPersistentState != null)
fcscb.fetchPersistentState(fetchPersistentState);
if (ignoreModifications != null)
fcscb.ignoreModifications(ignoreModifications);
if (purgeOnStartup != null)
fcscb.purgeOnStartup(purgeOnStartup);
if (purgeSynchronously != null)
fcscb.purgeSynchronously(purgeSynchronously);
parseStoreChildren(reader, fcscb);
} else if (loader instanceof CacheStore){
log.deprecatedLoaderAsStoreConfiguration();
LegacyStoreConfigurationBuilder scb = builder.loaders().addStore();
scb.cacheStore((CacheStore)loader);