|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CacheLockProvider
Method Summary | |
---|---|
Sync[] |
getAndWriteLockAllSyncForKeys(java.lang.Object... keys)
Gets and write lock the Sync Stripes to use for the given keys. |
Sync |
getSyncForKey(java.lang.Object key)
Gets the Sync Stripe to use for a given key. |
void |
unlockWriteLockForAllKeys(java.lang.Object... keys)
write unlock the Sync Stripes to use for the given keys. |
Method Detail |
---|
Sync getSyncForKey(java.lang.Object key)
key
- the key
Sync[] getAndWriteLockAllSyncForKeys(java.lang.Object... keys)
keys
- the keys to lock and get syncs for
void unlockWriteLockForAllKeys(java.lang.Object... keys)
keys
- the keys to unlock
|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |