ehcache

net.sf.ehcache.concurrent
Interface CacheLockProvider

All Known Implementing Classes:
StripedReadWriteLockSync

public interface CacheLockProvider

Author:
Alex Snaps

Method Summary
 Sync getSyncForKey(java.lang.Object key)
          Gets the Sync Stripe to use for a given key.
 

Method Detail

getSyncForKey

Sync getSyncForKey(java.lang.Object key)
Gets the Sync Stripe to use for a given key.

This lookup must always return the same Mutex for a given key.

Parameters:
key - the key
Returns:
one of a limited number of Mutexes.

ehcache

true