Home » lucene-3.0.1-src » org.apache » lucene » store » db » [javadoc | source]
org.apache.lucene.store.db
public class: DbLock [javadoc | source]
java.lang.Object
   org.apache.lucene.store.Lock
      org.apache.lucene.store.db.DbLock
This implementation of Lock is trivial as DbDirectory operations are managed by the Berkeley DB locking system.
Field Summary
 boolean isLocked     
Fields inherited from org.apache.lucene.store.Lock:
LOCK_POLL_INTERVAL,  LOCK_OBTAIN_WAIT_FOREVER,  failureReason
Constructor:
 public DbLock() 
Method from org.apache.lucene.store.db.DbLock Summary:
isLocked,   obtain,   release
Methods from org.apache.lucene.store.Lock:
isLocked,   obtain,   obtain,   release
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.lucene.store.db.DbLock Detail:
 public boolean isLocked() 
 public boolean obtain() 
 public  void release()