Top Methods
net.sf.ehcache.concurrent

public Interface CacheLockProvider

Known Direct Subinterfaces
net.sf.ehcache.concurrent.StripedReadWriteLock
Known Direct Implementers
net.sf.ehcache.store.MemoryStore.LockProvider, net.sf.ehcache.store.disk.DiskStore.LockProvider

Author
Alex Snaps

Method Summary

Modifier and TypeMethod and Description
public Sync

Returns:

one of a limited number of Sync's.
getSyncForKey
(Object
the key
key
)

Gets the Sync Stripe to use for a given key.

Method Detail

getSyncForKeyback to summary
public Sync getSyncForKey(Object key)

Gets the Sync Stripe to use for a given key.

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

Parameters
key:Object

the key

Returns:Sync

one of a limited number of Sync's.