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

org.infinispan.lock.impl.entries.ClusteredLockState Maven / Gradle / Ivy

There is a newer version: 15.1.1.Final
Show newest version
package org.infinispan.lock.impl.entries;

/**
 * Enum that represents the state of the lock.
 * Currently, two states are supported : {@link ClusteredLockState#ACQUIRED} and {@link ClusteredLockState#RELEASED}
 *
 * @author Katia Aresti, [email protected]
 * @since 9.2
 */
public enum ClusteredLockState {
   ACQUIRED,
   RELEASED;

   private static final ClusteredLockState[] CACHED_VALUES = ClusteredLockState.values();

   public static ClusteredLockState valueOf(int index) {
      return CACHED_VALUES[index];
   }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy