All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.infinispan.transaction.TransactionProtocol Maven / Gradle / Ivy

There is a newer version: 15.1.0.Dev04
Show newest version
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