org.terracotta.modules.ehcache.concurrency
Class TcCacheLockProvider
java.lang.Object
org.terracotta.modules.ehcache.concurrency.TcCacheLockProvider
- All Implemented Interfaces:
- net.sf.ehcache.concurrent.CacheLockProvider
public class TcCacheLockProvider
- extends Object
- implements net.sf.ehcache.concurrent.CacheLockProvider
- Author:
- Alex Snaps
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TcCacheLockProvider
public TcCacheLockProvider(ClusteredStoreBackend backend,
ValueModeHandler valueModeHandler)
getSyncForKey
public net.sf.ehcache.concurrent.Sync getSyncForKey(Object key)
- Specified by:
getSyncForKey in interface net.sf.ehcache.concurrent.CacheLockProvider
getAndWriteLockAllSyncForKeys
public net.sf.ehcache.concurrent.Sync[] getAndWriteLockAllSyncForKeys(Object... keys)
- Specified by:
getAndWriteLockAllSyncForKeys in interface net.sf.ehcache.concurrent.CacheLockProvider
getAndWriteLockAllSyncForKeys
public net.sf.ehcache.concurrent.Sync[] getAndWriteLockAllSyncForKeys(long timeout,
Object... keys)
throws TimeoutException
- Specified by:
getAndWriteLockAllSyncForKeys in interface net.sf.ehcache.concurrent.CacheLockProvider
- Throws:
TimeoutException
unlockWriteLockForAllKeys
public void unlockWriteLockForAllKeys(Object... keys)
- Specified by:
unlockWriteLockForAllKeys in interface net.sf.ehcache.concurrent.CacheLockProvider
Copyright © 2010 Terracotta, Inc.. All Rights Reserved.