throw new CacheException("To be transactional, a Terracotta clustered cache needs to be in Serialization value mode");
}
final Store store;
if (isTerracottaClustered()) {
final Consistency consistency = getCacheConfiguration().getTerracottaConfiguration().getConsistency();
final boolean coherent = getCacheConfiguration().getTerracottaConfiguration().isCoherent();
if (getCacheConfiguration().isOverflowToOffHeap()) {
throw new InvalidConfigurationException(
"Terracotta clustered caches with local overflow to offheap are not supported yet."
+ " You can fix this by disabling overflow to offheap for clustered caches.");