|
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CacheLockProvider
| Method Summary | |
|---|---|
Sync[] |
getAndWriteLockAllSyncForKeys(long timeout,
Object... keys)
Gets and write lock the Sync Stripes to use for the given keys. |
Sync[] |
getAndWriteLockAllSyncForKeys(Object... keys)
Gets and write lock the Sync Stripes to use for the given keys. |
Sync |
getSyncForKey(Object key)
Gets the Sync Stripe to use for a given key. |
void |
unlockWriteLockForAllKeys(Object... keys)
write unlock the Sync Stripes to use for the given keys. |
| Method Detail |
|---|
Sync getSyncForKey(Object key)
key - the key
Sync[] getAndWriteLockAllSyncForKeys(Object... keys)
keys - the keys to lock and get syncs for
Sync[] getAndWriteLockAllSyncForKeys(long timeout,
Object... keys)
throws TimeoutException
timeout - amount of milliseconds before timeout occurskeys - the keys to lock and get syncs for
TimeoutException - thrown when locks could not be acquired within
specified timeout.void unlockWriteLockForAllKeys(Object... keys)
keys - the keys to unlock
|
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||