org.infinispan.lock.impl.entries.ClusteredLockState Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of infinispan-clustered-lock Show documentation
Show all versions of infinispan-clustered-lock Show documentation
Infinispan Clustered Lock module
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