Class RecursiveDelete
- java.lang.Object
 - 
- org.apache.jackrabbit.oak.plugins.index.property.RecursiveDelete
 
 
- 
public class RecursiveDelete extends java.lang.Object 
- 
- 
Constructor Summary
Constructors Constructor Description RecursiveDelete(NodeStore nodeStore, CommitHook commitHook, java.util.function.Supplier<CommitInfo> commitInfo) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetMaxRemoveCount()intgetMergeCount()intgetNumRemoved()intgetSleepPerBatch()voidrun(java.lang.Iterable<java.lang.String> paths)voidrun(java.lang.String path)voidsetBatchSize(int batchSize)voidsetMaxRemoveCount(int maxRemoveCount)voidsetSleepPerBatch(int sleepPerBatch) 
 - 
 
- 
- 
Constructor Detail
- 
RecursiveDelete
public RecursiveDelete(NodeStore nodeStore, CommitHook commitHook, java.util.function.Supplier<CommitInfo> commitInfo)
 
 - 
 
- 
Method Detail
- 
run
public void run(java.lang.Iterable<java.lang.String> paths) throws CommitFailedException- Throws:
 CommitFailedException
 
- 
run
public void run(java.lang.String path) throws CommitFailedException- Throws:
 CommitFailedException
 
- 
getNumRemoved
public int getNumRemoved()
 
- 
getMergeCount
public int getMergeCount()
 
- 
setBatchSize
public void setBatchSize(int batchSize)
 
- 
getMaxRemoveCount
public int getMaxRemoveCount()
 
- 
setMaxRemoveCount
public void setMaxRemoveCount(int maxRemoveCount)
 
- 
getSleepPerBatch
public int getSleepPerBatch()
 
- 
setSleepPerBatch
public void setSleepPerBatch(int sleepPerBatch)
 
 - 
 
 -