org.infinispan.transaction.TransactionProtocol Maven / Gradle / Ivy
package org.infinispan.transaction;
/**
* Enumerate with the possible commits protocols.
*
* @author Pedro Ruivo
* @since 5.3
*/
public enum TransactionProtocol {
/**
* uses the 2PC protocol
*/
DEFAULT,
/**
* uses the total order protocol
*/
TOTAL_ORDER;
public boolean isTotalOrder() {
return this == TOTAL_ORDER;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy