FileDocCategorySizeDatePackage
JELock.javaAPI DocApache Lucene 2.1.01300Wed Feb 14 10:46:08 GMT 2007org.apache.lucene.store.je

JELock

public class JELock extends Lock
Port of Andi Vajda's DbDirectory to Java Edition of Berkeley Database
author
Aaron Donovan

Fields Summary
boolean
isLocked
Constructors Summary
public JELock()


     
    
    
Methods Summary
public booleanisLocked()

        return isLocked;
    
public booleanobtain()

        return (isLocked = true);
    
public voidrelease()

        isLocked = false;