org.compass.needle.coherence
Class DefaultCoherenceLockFactory
java.lang.Object
org.apache.lucene.store.LockFactory
org.compass.needle.coherence.DefaultCoherenceLockFactory
public class DefaultCoherenceLockFactory
- extends LockFactory
A locak factory using.
- Author:
- kimchy
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultCoherenceLockFactory
public DefaultCoherenceLockFactory(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.