ehcache

net.sf.ehcache.concurrent
Interface StripedReadWriteLock

All Superinterfaces:
CacheLockProvider
All Known Implementing Classes:
StripedReadWriteLockSync

public interface StripedReadWriteLock
extends CacheLockProvider

Author:
Alex Snaps

Method Summary
 List<ReadWriteLockSync> getAllSyncs()
          Returns all Syncs
 ReadWriteLock getLockForKey(Object key)
          Returns a ReadWriteLock for a particular key
 
Methods inherited from interface net.sf.ehcache.concurrent.CacheLockProvider
getSyncForKey
 

Method Detail

getLockForKey

ReadWriteLock getLockForKey(Object key)
Returns a ReadWriteLock for a particular key

Parameters:
key - the key
Returns:
the lock

getAllSyncs

List<ReadWriteLockSync> getAllSyncs()
Returns all Syncs

Returns:

ehcache

Copyright 2001-2015, Terracotta, Inc.