Package net.sf.ehcache.concurrent
Interface StripedReadWriteLock
-
- All Superinterfaces:
CacheLockProvider
- All Known Implementing Classes:
StripedReadWriteLockSync
public interface StripedReadWriteLock extends CacheLockProvider
- Author:
- Alex Snaps
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<ReadWriteLockSync>getAllSyncs()Returns all Syncsjava.util.concurrent.locks.ReadWriteLockgetLockForKey(java.lang.Object key)Returns a ReadWriteLock for a particular key-
Methods inherited from interface net.sf.ehcache.concurrent.CacheLockProvider
getSyncForKey
-
-
-
-
Method Detail
-
getLockForKey
java.util.concurrent.locks.ReadWriteLock getLockForKey(java.lang.Object key)
Returns a ReadWriteLock for a particular key- Parameters:
key- the key- Returns:
- the lock
-
getAllSyncs
java.util.List<ReadWriteLockSync> getAllSyncs()
Returns all Syncs- Returns:
-
-