org.compass.core.lucene.engine.transaction.lucene
Class LuceneTransactionProcessorFactory

java.lang.Object
  extended by org.compass.core.lucene.engine.transaction.lucene.LuceneTransactionProcessorFactory
All Implemented Interfaces:
TransactionProcessorFactory

public class LuceneTransactionProcessorFactory
extends Object
implements TransactionProcessorFactory

Lucene based transaction, allows to perfom dirty operations directly over the index using Lucene support for transactions. Reads and search will be performed on the index itself without taking into account any transactional operations.

Author:
kimchy
See Also:
LuceneTransactionProcessor

Constructor Summary
LuceneTransactionProcessorFactory()
           
 
Method Summary
 void close()
          Closes the transaction factory.
 TransactionProcessor create(LuceneSearchEngine searchEngine)
          Creates a new LuceneTransactionProcessor.
 boolean isThreadSafe()
          Lucene transaction processor is not thread safe.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LuceneTransactionProcessorFactory

public LuceneTransactionProcessorFactory()
Method Detail

create

public TransactionProcessor create(LuceneSearchEngine searchEngine)
Creates a new LuceneTransactionProcessor.

Specified by:
create in interface TransactionProcessorFactory

close

public void close()
Description copied from interface: TransactionProcessorFactory
Closes the transaction factory.

Specified by:
close in interface TransactionProcessorFactory

isThreadSafe

public boolean isThreadSafe()
Lucene transaction processor is not thread safe.

Specified by:
isThreadSafe in interface TransactionProcessorFactory


Copyright (c) 2004-2009 The Compass Project.