Index

E G L N R S W 
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 using Lock.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 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 obtain instances of Lock or ReadWriteLock which are identified by a key.

R

readLock(K) - Method in interface net.dapete.locks.ReadWriteLocks
Return a ReadWriteLock with its ReadWriteLock.readLock() already locked using Lock.lock().
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 using ReentrantLock.
reentrant() - Static method in interface net.dapete.locks.ReadWriteLocks
reentrant(boolean) - Static method in interface net.dapete.locks.Locks
Return a ReentrantLocks instance using ReentrantLock with the given fairness policy.
reentrant(boolean) - Static method in interface net.dapete.locks.ReadWriteLocks
Return a ReentrantReadWriteLocks instance using ReentrantReadWriteLock with the given fairness policy.
reentrant(boolean, Class<K>) - Static method in interface net.dapete.locks.Locks
Return a ReentrantLocks instance using ReentrantLock with the given fairness policy.
reentrant(boolean, Class<K>) - Static method in interface net.dapete.locks.ReadWriteLocks
Return a ReentrantReadWriteLocks instance using ReentrantReadWriteLock with the given fairness policy.
reentrant(Class<K>) - Static method in interface net.dapete.locks.Locks
Return a ReentrantLocks instance using ReentrantLock.
reentrant(Class<K>) - Static method in interface net.dapete.locks.ReadWriteLocks
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 specified lockSupplier.
withSupplier(Supplier<L>) - Static method in interface net.dapete.locks.ReadWriteLocks
Return an instance using ReadWriteLock implementations created by the specified lockSupplier.
writeLock(K) - Method in interface net.dapete.locks.ReadWriteLocks
Return a ReadWriteLock with its ReadWriteLock.writeLock() already locked using Lock.lock().
writeLock(K) - Method in class net.dapete.locks.ReentrantReadWriteLocks
 
E G L N R S W 
All Classes and Interfaces|All Packages