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

javax.cache.transaction.Mode Maven / Gradle / Ivy

There is a newer version: 1.1.1
Show newest version
/**
 *  Copyright (c) 2011-2013 Terracotta, Inc.
 *  Copyright (c) 2011-2013 Oracle and/or its affiliates.
 *
 *  All rights reserved. Use is subject to license terms.
 */

package javax.cache.transaction;

/**
 * A enum for the different cache transaction modes.
 *
 * @author Greg Luck
 * @since 1.0
 */
public enum Mode {

  /**
   * The cache is not transactional.
   */
  NONE,

  /**
   * A resource local transaction (can only be used for a transcation involving a single CacheManager and no other XA resources)
   */
  LOCAL,

  /**
   * A global transaction that can span multiple XA Resources
   */
  XA
}






© 2015 - 2024 Weber Informatics LLC | Privacy Policy