Index
All Classes and Interfaces|All Packages
E
- Examples - Search tag in package net.dapete.locks
- Section
G
- get(K) - Method in class net.dapete.locks.ReentrantLocks
-
Returns a lock for the supplied key.
- get(K) - Method in class net.dapete.locks.ReentrantReadWriteLocks
-
Returns a lock for the supplied key.
- get(K) - Method in interface net.dapete.locks.Locks
-
Returns a lock for the supplied key.
- get(K) - Method in interface net.dapete.locks.ReadWriteLocks
-
Returns a lock for the supplied key.
- getLockReference(K) - Method in class net.dapete.locks.ReentrantLocks
- getLockReference(K) - Method in class net.dapete.locks.ReentrantReadWriteLocks
L
- lock(K) - Method in interface net.dapete.locks.Locks
-
Return a
Lock
already locked usingLock.lock()
. - lock(K) - Method in class net.dapete.locks.ReentrantLocks
- Locks<K,
L> - Interface in net.dapete.locks -
Key-based locking with implementations of
Lock
.
N
- net.dapete.locks - module net.dapete.locks
-
This module contains classes for key-based locking, as in a way to obtain instances of
Lock
orReadWriteLock
which are identified by a key. - net.dapete.locks - package net.dapete.locks
-
This package contains classes for key-based locking, as in a way to obtain instances of
Lock
orReadWriteLock
which are identified by a key.
R
- readLock(K) - Method in interface net.dapete.locks.ReadWriteLocks
- readLock(K) - Method in class net.dapete.locks.ReentrantReadWriteLocks
- ReadWriteLocks<K,
L> - Interface in net.dapete.locks -
Key-based locking with implementations of
ReadWriteLock
. - reentrant() - Static method in interface net.dapete.locks.Locks
-
Return a
ReentrantLocks
instance usingReentrantLock
. - reentrant() - Static method in interface net.dapete.locks.ReadWriteLocks
-
Return a
ReentrantReadWriteLocks
instance usingReentrantReadWriteLock
. - reentrant(boolean) - Static method in interface net.dapete.locks.Locks
-
Return a
ReentrantLocks
instance usingReentrantLock
with the given fairness policy. - reentrant(boolean) - Static method in interface net.dapete.locks.ReadWriteLocks
-
Return a
ReentrantReadWriteLocks
instance usingReentrantReadWriteLock
with the given fairness policy. - reentrant(boolean, Class<K>) - Static method in interface net.dapete.locks.Locks
-
Return a
ReentrantLocks
instance usingReentrantLock
with the given fairness policy. - reentrant(boolean, Class<K>) - Static method in interface net.dapete.locks.ReadWriteLocks
-
Return a
ReentrantReadWriteLocks
instance usingReentrantReadWriteLock
with the given fairness policy. - reentrant(Class<K>) - Static method in interface net.dapete.locks.Locks
-
Return a
ReentrantLocks
instance usingReentrantLock
. - reentrant(Class<K>) - Static method in interface net.dapete.locks.ReadWriteLocks
-
Return a
ReentrantReadWriteLocks
instance usingReentrantReadWriteLock
. - ReentrantLocks<K> - Class in net.dapete.locks
-
Key-based locking using instances of
ReentrantLock
. - ReentrantReadWriteLocks<K> - Class in net.dapete.locks
-
Key-based locking using instances of
ReentrantReadWriteLock
.
S
- size() - Method in class net.dapete.locks.ReentrantLocks
-
Returns the current number of locks managed by this instance.
- size() - Method in class net.dapete.locks.ReentrantReadWriteLocks
-
Returns the current number of locks managed by this instance.
- size() - Method in interface net.dapete.locks.Locks
-
Returns the current number of locks managed by this instance.
- size() - Method in interface net.dapete.locks.ReadWriteLocks
-
Returns the current number of locks managed by this instance.
W
- withSupplier(Supplier<L>) - Static method in interface net.dapete.locks.Locks
-
Return an instance using
Lock
implementations created by the specifiedlockSupplier
. - withSupplier(Supplier<L>) - Static method in interface net.dapete.locks.ReadWriteLocks
-
Return an instance using
ReadWriteLock
implementations created by the specifiedlockSupplier
. - writeLock(K) - Method in interface net.dapete.locks.ReadWriteLocks
- writeLock(K) - Method in class net.dapete.locks.ReentrantReadWriteLocks
All Classes and Interfaces|All Packages