}
@Override
public void validate() {
if (reaperWakeUpInterval < 0)
throw new CacheConfigurationException("reaperWakeUpInterval must be > 0, we got " + reaperWakeUpInterval);
if (completedTxTimeout < 0)
throw new CacheConfigurationException("completedTxTimeout must be > 0, we got " + reaperWakeUpInterval);
if(transactionProtocol == TransactionProtocol.TOTAL_ORDER) {
//total order only supports transactional caches
if(transactionMode != TransactionMode.TRANSACTIONAL) {
throw new ConfigurationException("Total Order based protocol not available in " + transactionMode +" cache");
}