File
Doc
Category
Size
Date
Package
JELock.java
API Doc
Apache Lucene 2.1.0
1300
Wed Feb 14 10:46:08 GMT 2007
org.apache.lucene.store.je
JELock
java.lang.Object
org.apache.lucene.store.Lock
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
boolean
isLocked
()
return isLocked;
public
boolean
obtain
()
return (isLocked = true);
public void
release
()
isLocked = false;
Java Code Source