org.compass.core.lucene.engine.transaction.support
Class CommitCallable

java.lang.Object
  extended by org.compass.core.lucene.engine.transaction.support.CommitCallable
All Implemented Interfaces:
Callable

public class CommitCallable
extends Object
implements Callable

A simple callable that commits an index writer for a given sub index.

Author:
kimchy

Constructor Summary
CommitCallable(LuceneSearchEngineIndexManager indexManager, String subIndex, IndexWriter indexWriter, boolean invalidateCacheOnCommit)
           
 
Method Summary
 Object call()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommitCallable

public CommitCallable(LuceneSearchEngineIndexManager indexManager,
                      String subIndex,
                      IndexWriter indexWriter,
                      boolean invalidateCacheOnCommit)
Method Detail

call

public Object call()
            throws Exception
Specified by:
call in interface Callable
Throws:
Exception


Copyright (c) 2004-2009 The Compass Project.