org.compass.core.engine
Interface SearchEngineIndexManager.IndexOperationCallback

Enclosing interface:
SearchEngineIndexManager

public static interface SearchEngineIndexManager.IndexOperationCallback

A callback interface that works with.

Author:
kimchy

Method Summary
 boolean firstStep()
          First step is called just after the index is locked for any dirty operations.
 void secondStep()
          Second step is called just after the index is locked for read operations (on top of the dirty operations).
 

Method Detail

firstStep

boolean firstStep()
                  throws SearchEngineException
First step is called just after the index is locked for any dirty operations.

Return true if after the first step, the system should continue to the second step.

Throws:
SearchEngineException

secondStep

void secondStep()
                throws SearchEngineException
Second step is called just after the index is locked for read operations (on top of the dirty operations).

Throws:
SearchEngineException


Copyright (c) 2004-2009 The Compass Project.