Index

G I L N R S W 
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 true if locks returned by this instance have fairness set true.
isFair() - Method in class net.dapete.locks.ReentrantReadWriteLocks
Return true if locks returned by this instance have fairness set true.

L

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