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

org.infinispan.util.concurrent.locks.LockState Maven / Gradle / Ivy

package org.infinispan.util.concurrent.locks;

/**
 * The {@link org.infinispan.util.concurrent.locks.impl.InfinispanLock} possible states.
 * 

* Used in listener to notify when the state changes. * * @author Pedro Ruivo * @since 8.0 */ public enum LockState { /** * The lock owner is in the queue waiting for the lock to be available. */ WAITING, /** * The lock owner left the queue and it is available to acquire the lock. */ ACQUIRED, /** * The time out occurred while the lock owner waits on the queue. */ TIMED_OUT, /** * The deadlock occurred with another possible lock owner and it should abort. */ DEADLOCKED, /** * The lock owner released the lock. */ RELEASED }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy