org.apache.lucene.store.db

Class DbLock

public class DbLock extends Lock

This implementation of Lock is trivial as DbDirectory operations are managed by the Berkeley DB locking system.

Author: Andi Vajda

Constructor Summary
DbLock()
Method Summary
booleanisLocked()
booleanobtain()
voidrelease()

Constructor Detail

DbLock

public DbLock()

Method Detail

isLocked

public boolean isLocked()

obtain

public boolean obtain()

release

public void release()
Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.