FileDocCategorySizeDatePackage
JELock.javaAPI DocApache Lucene 1.91117Mon Feb 20 09:17:58 GMT 2006org.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;