org.compass.core.lucene.engine.indexdeletionpolicy
Class KeepAllDeletionPolicy

java.lang.Object
  extended by org.compass.core.lucene.engine.indexdeletionpolicy.KeepAllDeletionPolicy
All Implemented Interfaces:
IndexDeletionPolicy

public class KeepAllDeletionPolicy
extends Object
implements IndexDeletionPolicy

An index deletion policy that does not delete any commits, old or new.

Author:
kimchy
See Also:
IndexDeletionPolicyFactory

Constructor Summary
KeepAllDeletionPolicy()
           
 
Method Summary
 void onCommit(List commits)
           
 void onInit(List commits)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeepAllDeletionPolicy

public KeepAllDeletionPolicy()
Method Detail

onInit

public void onInit(List commits)
            throws IOException
Specified by:
onInit in interface IndexDeletionPolicy
Throws:
IOException

onCommit

public void onCommit(List commits)
              throws IOException
Specified by:
onCommit in interface IndexDeletionPolicy
Throws:
IOException


Copyright (c) 2004-2009 The Compass Project.