if (tmpLoader != null) {
if (cfg instanceof CacheStoreConfiguration) {
CacheStore tmpStore = (CacheStore) tmpLoader;
// async?
CacheStoreConfiguration cfg2 = (CacheStoreConfiguration) cfg;
if (cfg2.async().enabled()) {
tmpStore = createAsyncStore(tmpStore);
tmpLoader = tmpStore;
}
// read only?