public class IndexDeletionPolicyImpl extends Object implements org.apache.lucene.index.IndexDeletionPolicy
IndexDeletionPolicyImpl
...Constructor and Description |
---|
IndexDeletionPolicyImpl(org.apache.jackrabbit.core.query.lucene.PersistentIndex index,
long maxAge) |
Modifier and Type | Method and Description |
---|---|
void |
onCommit(List<? extends org.apache.lucene.index.IndexCommit> commits) |
void |
onInit(List<? extends org.apache.lucene.index.IndexCommit> commits) |
public IndexDeletionPolicyImpl(org.apache.jackrabbit.core.query.lucene.PersistentIndex index, long maxAge) throws IOException
IOException
public void onInit(List<? extends org.apache.lucene.index.IndexCommit> commits) throws IOException
onInit
in interface org.apache.lucene.index.IndexDeletionPolicy
IOException
public void onCommit(List<? extends org.apache.lucene.index.IndexCommit> commits) throws IOException
onCommit
in interface org.apache.lucene.index.IndexDeletionPolicy
IOException
Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.