Class InvalidateAllNodesVisitor
java.lang.Object
javax.jcr.util.TraversingItemVisitor
javax.jcr.util.TraversingItemVisitor.Default
com.adobe.acs.commons.httpcache.store.jcr.impl.visitor.AbstractNodeVisitor
com.adobe.acs.commons.httpcache.store.jcr.impl.visitor.InvalidateAllNodesVisitor
- All Implemented Interfaces:
javax.jcr.ItemVisitor
Removes all nodes by traversal and saves based on save threshold.
-
Nested Class Summary
Nested classes/interfaces inherited from class javax.jcr.util.TraversingItemVisitor
javax.jcr.util.TraversingItemVisitor.Default -
Field Summary
Fields inherited from class javax.jcr.util.TraversingItemVisitor
breadthFirst, maxLevel -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.adobe.acs.commons.httpcache.store.jcr.impl.visitor.AbstractNodeVisitor
close, entering, getEvictionCount, isBucketNode, isCacheEntryNode, isEmptyBucketNode, persistSession, visitMethods inherited from class javax.jcr.util.TraversingItemVisitor.Default
entering, leavingMethods inherited from class javax.jcr.util.TraversingItemVisitor
visit
-
Constructor Details
-
InvalidateAllNodesVisitor
public InvalidateAllNodesVisitor(int maxLevel, long deltaSaveThreshold)
-
-
Method Details
-
leaving
protected void leaving(javax.jcr.Node node, int level) throws javax.jcr.RepositoryException - Overrides:
leavingin classAbstractNodeVisitor- Throws:
javax.jcr.RepositoryException
-