com.atlassian.bamboo.index
Class LuceneConnectionImpl

java.lang.Object
  extended by com.atlassian.bonnie.LuceneConnection
      extended by com.atlassian.bonnie.ConcurrentLuceneConnection
          extended by com.atlassian.bamboo.index.LuceneConnectionImpl
All Implemented Interfaces:
LuceneConnection, com.atlassian.bonnie.ILuceneConnection

public class LuceneConnectionImpl
extends com.atlassian.bonnie.ConcurrentLuceneConnection
implements LuceneConnection


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.atlassian.bonnie.ILuceneConnection
com.atlassian.bonnie.ILuceneConnection.BatchUpdateAction, com.atlassian.bonnie.ILuceneConnection.Configuration, com.atlassian.bonnie.ILuceneConnection.ReaderAction, com.atlassian.bonnie.ILuceneConnection.SearcherAction, com.atlassian.bonnie.ILuceneConnection.WriterAction
 
Field Summary
 
Fields inherited from class com.atlassian.bonnie.LuceneConnection
WRITER_BATCH, WRITER_DEFAULT, WRITER_INTERACTIVE
 
Fields inherited from interface com.atlassian.bonnie.ILuceneConnection
DEFAULT_CONFIGURATION
 
Constructor Summary
LuceneConnectionImpl(BootstrapManager bootstrapManager)
           
LuceneConnectionImpl(org.apache.lucene.store.Directory path)
           
 
Method Summary
 void closeQuietly(org.apache.lucene.search.Searcher searcher)
           
 
Methods inherited from class com.atlassian.bonnie.LuceneConnection
close, flipCurrentSearcher, flushWriter, getIndexDir, getNumDocs, isIndexCreated, leakSearcher, optimize, recreateIndexDirectory, truncateIndex, withBatchUpdate, withDeleteAndWrites, withReader, withReaderAndDeletes, withSearch, withWriter, withWriter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.bonnie.ILuceneConnection
close, getNumDocs, isIndexCreated, leakSearcher, optimize, recreateIndexDirectory, truncateIndex, withBatchUpdate, withDeleteAndWrites, withReader, withReaderAndDeletes, withSearch, withWriter
 

Constructor Detail

LuceneConnectionImpl

public LuceneConnectionImpl(BootstrapManager bootstrapManager)

LuceneConnectionImpl

public LuceneConnectionImpl(org.apache.lucene.store.Directory path)
Method Detail

closeQuietly

public void closeQuietly(org.apache.lucene.search.Searcher searcher)
Specified by:
closeQuietly in interface LuceneConnection


Copyright © 2012 Atlassian. All Rights Reserved.