throw new AssertionError("NonstopStore supported for Terracotta clustered caches only");
}
if (!cache.getCacheConfiguration().getTerracottaConfiguration().isNonstopEnabled()) {
throw new AssertionError("Nonstop is not enabled");
}
nonstopStore = new NonstopStoreImpl(this, cache.getCacheCluster(), cache.getCacheConfiguration()
.getTerracottaConfiguration().getNonstopConfiguration(), cache.getCacheConfiguration().getTransactionalMode(),
cache.getTransactionManagerLookup());
}
}