Class IndexDeletionPolicyImpl

  • All Implemented Interfaces:
    org.apache.lucene.index.IndexDeletionPolicy

    public class IndexDeletionPolicyImpl
    extends Object
    implements org.apache.lucene.index.IndexDeletionPolicy
    IndexDeletionPolicyImpl...
    • 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