Uses of Class
org.apache.lucene.store.LockObtainFailedException

Packages that use LockObtainFailedException
org.apache.lucene.index Code to maintain and access indices. 
org.apache.lucene.store Binary i/o API, used for all index data. 
 

Uses of LockObtainFailedException in org.apache.lucene.index
 

Methods in org.apache.lucene.index that throw LockObtainFailedException
 void IndexModifier.addDocument(Document doc)
          Deprecated. Adds a document to this index.
 void IndexModifier.addDocument(Document doc, Analyzer docAnalyzer)
          Deprecated. Adds a document to this index, using the provided analyzer instead of the one specific in the constructor.
protected  void IndexModifier.createIndexWriter()
          Deprecated. Close the IndexReader and open an IndexWriter.
 void IndexReader.deleteDocument(int docNum)
          Deletes the document numbered docNum.
 void IndexModifier.deleteDocument(int docNum)
          Deprecated. Deletes the document numbered docNum.
 int IndexReader.deleteDocuments(Term term)
          Deletes all documents that have a given term indexed.
 int IndexModifier.deleteDocuments(Term term)
          Deprecated. Deletes all documents containing term.
 void IndexModifier.flush()
          Deprecated. Make sure all changes are written to disk.
 PrintStream IndexModifier.getInfoStream()
          Deprecated.  
 int IndexModifier.getMaxBufferedDocs()
          Deprecated.  
 int IndexModifier.getMaxFieldLength()
          Deprecated.  
 int IndexModifier.getMergeFactor()
          Deprecated.  
 boolean IndexModifier.getUseCompoundFile()
          Deprecated.  
protected  void IndexModifier.init(Directory directory, Analyzer analyzer, boolean create)
          Deprecated. Initialize an IndexWriter.
 void IndexModifier.optimize()
          Deprecated. Merges all segments together into a single segment, optimizing an index for search.
 void IndexReader.setNorm(int doc, String field, byte value)
          Expert: Resets the normalization factor for the named field of the named document.
 void IndexReader.setNorm(int doc, String field, float value)
          Expert: Resets the normalization factor for the named field of the named document.
 void IndexReader.undeleteAll()
          Undeletes all documents currently marked as deleted in this index.
 

Constructors in org.apache.lucene.index that throw LockObtainFailedException
IndexModifier(Directory directory, Analyzer analyzer, boolean create)
          Deprecated. Open an index with write access.
IndexModifier(File file, Analyzer analyzer, boolean create)
          Deprecated. Open an index with write access.
IndexModifier(String dirName, Analyzer analyzer, boolean create)
          Deprecated. Open an index with write access.
IndexWriter(Directory d, Analyzer a)
          Constructs an IndexWriter for the index in d, first creating it if it does not already exist.
IndexWriter(Directory d, Analyzer a, boolean create)
          Constructs an IndexWriter for the index in d.
IndexWriter(Directory d, boolean autoCommit, Analyzer a)
          Constructs an IndexWriter for the index in d, first creating it if it does not already exist.
IndexWriter(Directory d, boolean autoCommit, Analyzer a, boolean create)
          Constructs an IndexWriter for the index in d.
IndexWriter(Directory d, boolean autoCommit, Analyzer a, boolean create, IndexDeletionPolicy deletionPolicy)
          Expert: constructs an IndexWriter with a custom IndexDeletionPolicy, for the index in d.
IndexWriter(Directory d, boolean autoCommit, Analyzer a, IndexDeletionPolicy deletionPolicy)
          Expert: constructs an IndexWriter with a custom IndexDeletionPolicy, for the index in d, first creating it if it does not already exist.
IndexWriter(File path, Analyzer a)
          Constructs an IndexWriter for the index in path, first creating it if it does not already exist.
IndexWriter(File path, Analyzer a, boolean create)
          Constructs an IndexWriter for the index in path.
IndexWriter(String path, Analyzer a)
          Constructs an IndexWriter for the index in path, first creating it if it does not already exist.
IndexWriter(String path, Analyzer a, boolean create)
          Constructs an IndexWriter for the index in path.
 

Uses of LockObtainFailedException in org.apache.lucene.store
 

Methods in org.apache.lucene.store that throw LockObtainFailedException
 boolean Lock.obtain(long lockWaitTimeout)
          Attempts to obtain an exclusive lock within amount of time given.
 Object Lock.With.run()
          Calls Lock.With.doBody() while lock is obtained.
 



Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.