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
IOExceptionpublic void onInit(List<? extends org.apache.lucene.index.IndexCommit> commits) throws IOException
onInit in interface org.apache.lucene.index.IndexDeletionPolicyIOExceptionpublic void onCommit(List<? extends org.apache.lucene.index.IndexCommit> commits) throws IOException
onCommit in interface org.apache.lucene.index.IndexDeletionPolicyIOExceptionCopyright © 2004–2024 The Apache Software Foundation. All rights reserved.