Top Methods
net.sf.ehcache.concurrent

public Interface StripedReadWriteLock

extends CacheLockProvider
Known Direct Implementers
net.sf.ehcache.concurrent.StripedReadWriteLockSync, net.sf.ehcache.store.disk.DiskStore.DiskStoreStripedReadWriteLock
Imports
java.util.List, java.util.concurrent.locks.ReadWriteLock

Author
Alex Snaps

Method Summary

Modifier and TypeMethod and Description
public List<ReadWriteLockSync>
getAllSyncs()

Returns all Syncs

public ReadWriteLock

Returns:

the lock
getLockForKey
(Object
the key
key
)

Returns a ReadWriteLock for a particular key

Inherited from net.sf.ehcache.concurrent.CacheLockProvider:
getSyncForKey

Method Detail

getAllSyncsback to summary
public List<ReadWriteLockSync> getAllSyncs()

Returns all Syncs

getLockForKeyback to summary
public ReadWriteLock getLockForKey(Object key)

Returns a ReadWriteLock for a particular key

Parameters
key:Object

the key

Returns:ReadWriteLock

the lock