Index
All Classes and Interfaces|All Packages
G
- get(K) - Method in class net.dapete.locks.ReentrantLocks
-
Return a lock for the supplied
key. - get(K) - Method in class net.dapete.locks.ReentrantReadWriteLocks
-
Return a lock for the supplied
key. - get(K) - Method in interface net.dapete.locks.Locks
-
Return a lock for
key. - get(K) - Method in interface net.dapete.locks.ReadWriteLocks
-
Return a lock for
key.
I
- isFair() - Method in class net.dapete.locks.ReentrantLocks
-
Return
trueif locks returned by this instance have fairness set true. - isFair() - Method in class net.dapete.locks.ReentrantReadWriteLocks
-
Return
trueif locks returned by this instance have fairness set true.
L
- lock(K) - Method in interface net.dapete.locks.Locks
-
Return a lock for
keyalready 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 create instances of Lock or ReadWriteLock 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 create instances of Lock or ReadWriteLock 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
ReentrantLocksinstance usingReentrantLock. - reentrant() - Static method in interface net.dapete.locks.ReadWriteLocks
-
Return a
ReentrantReadWriteLocksinstance usingReentrantReadWriteLock. - reentrant(boolean) - Static method in interface net.dapete.locks.Locks
-
Return a
ReentrantLocksinstance usingReentrantLockwith the given fairness policy. - reentrant(boolean) - Static method in interface net.dapete.locks.ReadWriteLocks
-
Return a
ReentrantReadWriteLocksinstance usingReentrantReadWriteLockwith the given fairness policy. - reentrant(boolean, Class) - Static method in interface net.dapete.locks.Locks
-
Return a
ReentrantLocksinstance usingReentrantLockwith the given fairness policy. - reentrant(boolean, Class) - Static method in interface net.dapete.locks.ReadWriteLocks
-
Return a
ReentrantReadWriteLocksinstance usingReentrantReadWriteLockwith the given fairness policy. - reentrant(Class) - Static method in interface net.dapete.locks.Locks
-
Return a
ReentrantLocksinstance usingReentrantLock. - reentrant(Class) - Static method in interface net.dapete.locks.ReadWriteLocks
-
Return a
ReentrantReadWriteLocksinstance 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
-
Return the current number of locks managed by this instance.
- size() - Method in class net.dapete.locks.ReentrantReadWriteLocks
-
Return the current number of locks managed by this instance.
- size() - Method in interface net.dapete.locks.Locks
-
Return the current number of locks managed by this instance.
- size() - Method in interface net.dapete.locks.ReadWriteLocks
-
Return the current number of locks managed by this instance.
W
- withSupplier(Supplier) - Static method in interface net.dapete.locks.Locks
-
Return an instance using
Lockinstances created bylockSupplier. - withSupplier(Supplier) - Static method in interface net.dapete.locks.ReadWriteLocks
-
Return an instance using
ReadWriteLockimplementations 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