org.compass.core.lucene.engine.transaction
Class BatchInsertTransaction.WriterManager

java.lang.Object
  extended by org.compass.core.lucene.engine.transaction.BatchInsertTransaction.WriterManager
Enclosing class:
BatchInsertTransaction

public static class BatchInsertTransaction.WriterManager
extends Object


Nested Class Summary
static class BatchInsertTransaction.WriterManager.IndexWriterWrapper
           
 
Constructor Summary
BatchInsertTransaction.WriterManager(LuceneSearchEngineIndexManager indexManager)
           
 
Method Summary
 void clear()
           
 void closeIndexWriters(boolean withDirs, boolean withOptimize)
           
 BatchInsertTransaction.WriterManager.IndexWriterWrapper getWriterForSubIndex(String subIndex)
           
 boolean hasWriterForSubIndex(String subIndex)
           
 BatchInsertTransaction.WriterManager.IndexWriterWrapper openWriterBySubIndex(String subIndex)
           
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BatchInsertTransaction.WriterManager

public BatchInsertTransaction.WriterManager(LuceneSearchEngineIndexManager indexManager)
Method Detail

hasWriterForSubIndex

public boolean hasWriterForSubIndex(String subIndex)

getWriterForSubIndex

public BatchInsertTransaction.WriterManager.IndexWriterWrapper getWriterForSubIndex(String subIndex)

size

public int size()

clear

public void clear()

openWriterBySubIndex

public BatchInsertTransaction.WriterManager.IndexWriterWrapper openWriterBySubIndex(String subIndex)
                                                                             throws SearchEngineException
Throws:
SearchEngineException

closeIndexWriters

public void closeIndexWriters(boolean withDirs,
                              boolean withOptimize)
                       throws SearchEngineException
Throws:
SearchEngineException


Copyright (c) 2004-2006 The Compass Project.