Package org.craftercms.commons.concurrent.locks
-
Interface Summary Interface Description KeyBasedLockFactory<L> Factory for getting locks that can be used for concurrent thread synchronization based on keys. -
Class Summary Class Description AbstractWeakKeyBasedLockFactory<L> Abstract implementation ofKeyBasedLockFactory
that uses aWeakHashMap
to store the locks.WeakKeyBasedReentrantLockFactory Actual implementation ofAbstractWeakKeyBasedLockFactory
that usesReentrantLock
s.