Uses of Class
org.opendaylight.infrautils.utils.concurrent.NamedSimpleReentrantLock.AcquireResult
-
Packages that use NamedSimpleReentrantLock.AcquireResult Package Description org.opendaylight.infrautils.utils.concurrent General purpose concurrency related utilities. -
-
Uses of NamedSimpleReentrantLock.AcquireResult in org.opendaylight.infrautils.utils.concurrent
Subclasses of NamedSimpleReentrantLock.AcquireResult in org.opendaylight.infrautils.utils.concurrent Modifier and Type Class Description static class
NamedSimpleReentrantLock.Acquired
Result of a successful lock operation, representing a single lease on the lock.Methods in org.opendaylight.infrautils.utils.concurrent that return NamedSimpleReentrantLock.AcquireResult Modifier and Type Method Description NamedSimpleReentrantLock.AcquireResult
NamedLocks. tryAcquire(T lockName)
Acquires the lock for the given key only if it is not held by another thread at the time of invocation.NamedSimpleReentrantLock.AcquireResult
NamedLocks. tryAcquire(T lockName, long timeout, TimeUnit unit)
Tries to acquire the lock for the given key if it is not held by another thread within the given waiting time.NamedSimpleReentrantLock.AcquireResult
NamedSimpleReentrantLock. tryAcquire()
Acquires the lock for the given key only if it is not held by another thread at the time of invocation.NamedSimpleReentrantLock.AcquireResult
NamedSimpleReentrantLock. tryAcquire(long timeout, TimeUnit unit)
Tries to acquire the lock for the given key if it is not held by another thread within the given waiting time.
-