org.apache.lucene.benchmark.utils
Class NoDeletionPolicy
java.lang.Object
org.apache.lucene.benchmark.utils.NoDeletionPolicy
- All Implemented Interfaces:
- org.apache.lucene.index.IndexDeletionPolicy
public class NoDeletionPolicy
- extends Object
- implements org.apache.lucene.index.IndexDeletionPolicy
Method Summary |
void |
onCommit(List<? extends org.apache.lucene.index.IndexCommit> commits)
|
void |
onInit(List<? extends org.apache.lucene.index.IndexCommit> commits)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NoDeletionPolicy
public NoDeletionPolicy()
onCommit
public void onCommit(List<? extends org.apache.lucene.index.IndexCommit> commits)
throws IOException
- Specified by:
onCommit
in interface org.apache.lucene.index.IndexDeletionPolicy
- Throws:
IOException
onInit
public void onInit(List<? extends org.apache.lucene.index.IndexCommit> commits)
throws IOException
- Specified by:
onInit
in interface org.apache.lucene.index.IndexDeletionPolicy
- Throws:
IOException
Copyright © 2000-2010 Apache Software Foundation. All Rights Reserved.