org.compass.needle.coherence
Class InvocableCoherenceLockFactory
java.lang.Object
org.apache.lucene.store.LockFactory
org.compass.needle.coherence.InvocableCoherenceLockFactory
public class InvocableCoherenceLockFactory
- extends LockFactory
A lock factory using Coherence invocable support in order to use the actual
existance of a key within the cache to represent a lock.
- Author:
- kimchy
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InvocableCoherenceLockFactory
public InvocableCoherenceLockFactory(com.tangosol.net.NamedCache cache,
String indexName)
clearLock
public void clearLock(String lockName)
throws IOException
- Specified by:
clearLock in class LockFactory
- Throws:
IOException
makeLock
public Lock makeLock(String lockName)
- Specified by:
makeLock in class LockFactory
Copyright (c) 2004-2008 The Compass Project.