org.compass.needle.coherence
Class InvocableCoherenceLockFactory.CoherenceLock
java.lang.Object
org.apache.lucene.store.Lock
org.compass.needle.coherence.InvocableCoherenceLockFactory.CoherenceLock
- Enclosing class:
- InvocableCoherenceLockFactory
public class InvocableCoherenceLockFactory.CoherenceLock
- extends Lock
| Nested classes/interfaces inherited from class org.apache.lucene.store.Lock |
Lock.With |
| Methods inherited from class org.apache.lucene.store.Lock |
obtain |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InvocableCoherenceLockFactory.CoherenceLock
public InvocableCoherenceLockFactory.CoherenceLock(String lockName)
isLocked
public boolean isLocked()
- Specified by:
isLocked in class Lock
obtain
public boolean obtain()
throws IOException
- Specified by:
obtain in class Lock
- Throws:
IOException
release
public void release()
- Specified by:
release in class Lock
Copyright (c) 2004-2008 The Compass Project.