org.apache.jackrabbit.core.query.lucene
Class IndexDeletionPolicyImpl

java.lang.Object
  extended by 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)
           
 
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
 

Constructor Detail

IndexDeletionPolicyImpl

public IndexDeletionPolicyImpl(org.apache.jackrabbit.core.query.lucene.PersistentIndex index,
                               long maxAge)
                        throws IOException
Throws:
IOException
Method Detail

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

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


Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.