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

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

public class PrepareCommitCallable
extends Object
implements Callable

A simple callable that calls IndexWriter.prepareCommit(). Nothing is done in case of an exception, it is propagated outside of the callable.

Author:
kimchy

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

Constructor Detail

PrepareCommitCallable

public PrepareCommitCallable(String subIndex,
                             IndexWriter indexWriter)
Method Detail

call

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


Copyright (c) 2004-2009 The Compass Project.