org.compass.needle.terracotta
Class TerracottaManagerUtilLock
java.lang.Object
org.apache.lucene.store.Lock
org.compass.needle.terracotta.TerracottaManagerUtilLock
class TerracottaManagerUtilLock
- extends Lock
- Author:
- kimchy
| Nested classes/interfaces inherited from class org.apache.lucene.store.Lock |
Lock.With |
| Methods inherited from class org.apache.lucene.store.Lock |
obtain |
TerracottaManagerUtilLock
public TerracottaManagerUtilLock(String lockName)
obtain
public boolean obtain()
throws IOException
- Specified by:
obtain in class Lock
- Throws:
IOException
release
public void release()
- Specified by:
release in class Lock
isLocked
public boolean isLocked()
- Specified by:
isLocked in class Lock
toString
public String toString()
- Overrides:
toString in class Object
Copyright (c) 2004-2008 The Compass Project.