org.apache.jackrabbit.core.query.lucene
Class IndexDeletionPolicyImpl
java.lang.Object
org.apache.jackrabbit.core.query.lucene.IndexDeletionPolicyImpl
- All Implemented Interfaces:
- org.apache.lucene.index.IndexDeletionPolicy
public class IndexDeletionPolicyImpl
- extends Object
- implements org.apache.lucene.index.IndexDeletionPolicy
IndexDeletionPolicyImpl
...
Constructor Summary |
IndexDeletionPolicyImpl(org.apache.jackrabbit.core.query.lucene.PersistentIndex index,
long maxAge)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IndexDeletionPolicyImpl
public IndexDeletionPolicyImpl(org.apache.jackrabbit.core.query.lucene.PersistentIndex index,
long maxAge)
throws IOException
- Throws:
IOException
onInit
public void onInit(List commits)
throws IOException
- Specified by:
onInit
in interface org.apache.lucene.index.IndexDeletionPolicy
- Throws:
IOException
onCommit
public void onCommit(List commits)
throws IOException
- Specified by:
onCommit
in interface org.apache.lucene.index.IndexDeletionPolicy
- Throws:
IOException
Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.