Class IndexDeletionPolicyImpl
- java.lang.Object
-
- org.apache.jackrabbit.core.query.lucene.IndexDeletionPolicyImpl
-
- All Implemented Interfaces:
IndexDeletionPolicy
public class IndexDeletionPolicyImpl extends Object implements IndexDeletionPolicy
IndexDeletionPolicyImpl
...
-
-
Constructor Summary
Constructors Constructor Description IndexDeletionPolicyImpl(org.apache.jackrabbit.core.query.lucene.PersistentIndex index, long maxAge)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onCommit(List<? extends IndexCommit> commits)
void
onInit(List<? extends IndexCommit> commits)
-
-
-
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 IndexCommit> commits) throws IOException
- Specified by:
onInit
in interfaceIndexDeletionPolicy
- Throws:
IOException
-
onCommit
public void onCommit(List<? extends IndexCommit> commits) throws IOException
- Specified by:
onCommit
in interfaceIndexDeletionPolicy
- Throws:
IOException
-
-