com.atlassian.bamboo.index
Class LuceneConnectionImpl

java.lang.Object
  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 interface com.atlassian.bonnie.ILuceneConnection
DEFAULT_CONFIGURATION
 
Constructor Summary
LuceneConnectionImpl(BootstrapManager bootstrapManager)
           
 
Method Summary
 void closeQuietly(org.apache.lucene.search.Searcher searcher)
           
 void index(org.apache.lucene.document.Document doc)
           
 void unIndex(int indexId)
           
 
Methods inherited from class com.atlassian.bonnie.ConcurrentLuceneConnection
close, flipCurrentSearcher, getNumDocs, isIndexCreated, leakSearcher, optimize, recreateIndexDirectory, withBatchUpdate, withDeleteAndWrites, withReader, withReaderAndDeletes, withSearch, 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, withBatchUpdate, withDeleteAndWrites, withReader, withReaderAndDeletes, withSearch, withWriter
 

Constructor Detail

LuceneConnectionImpl

public LuceneConnectionImpl(BootstrapManager bootstrapManager)
Method Detail

index

public void index(org.apache.lucene.document.Document doc)
           throws com.atlassian.bonnie.LuceneException
Specified by:
index in interface LuceneConnection
Throws:
com.atlassian.bonnie.LuceneException

unIndex

public void unIndex(int indexId)
             throws com.atlassian.bonnie.LuceneException
Specified by:
unIndex in interface LuceneConnection
Throws:
com.atlassian.bonnie.LuceneException

closeQuietly

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


Copyright © 2008 Atlassian Pty Ltd. All Rights Reserved.