Class AbstractNodeVisitor
java.lang.Object
javax.jcr.util.TraversingItemVisitor
javax.jcr.util.TraversingItemVisitor.Default
com.adobe.acs.commons.httpcache.store.jcr.impl.visitor.AbstractNodeVisitor
- All Implemented Interfaces:
javax.jcr.ItemVisitor
- Direct Known Subclasses:
AllEntryNodesCountVisitor,EntryNodeByStringKeyVisitor,EntryNodeMapVisitor,ExpiredNodesVisitor,InvalidateAllNodesVisitor,InvalidateByCacheConfigVisitor
public abstract class AbstractNodeVisitor
extends javax.jcr.util.TraversingItemVisitor.Default
-
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
Modifier and TypeMethodDescriptionvoidclose()protected voidentering(javax.jcr.Node node, int level) longstatic booleanisBucketNode(javax.jcr.Node node) static booleanisCacheEntryNode(javax.jcr.Node node) static booleanisEmptyBucketNode(javax.jcr.Node node) protected voidleaving(javax.jcr.Node node, int level) protected voidvoidvisit(javax.jcr.Node node) Methods inherited from class javax.jcr.util.TraversingItemVisitor.Default
entering, leavingMethods inherited from class javax.jcr.util.TraversingItemVisitor
visit
-
Constructor Details
-
AbstractNodeVisitor
public AbstractNodeVisitor(int maxLevel, long deltaSaveThreshold)
-
-
Method Details
-
visit
public void visit(javax.jcr.Node node) throws javax.jcr.RepositoryException - Specified by:
visitin interfacejavax.jcr.ItemVisitor- Overrides:
visitin classjavax.jcr.util.TraversingItemVisitor- Throws:
javax.jcr.RepositoryException
-
close
public void close() throws javax.jcr.RepositoryException- Throws:
javax.jcr.RepositoryException
-
entering
protected void entering(javax.jcr.Node node, int level) throws javax.jcr.RepositoryException - Overrides:
enteringin classjavax.jcr.util.TraversingItemVisitor.Default- Throws:
javax.jcr.RepositoryException
-
leaving
protected void leaving(javax.jcr.Node node, int level) throws javax.jcr.RepositoryException - Overrides:
leavingin classjavax.jcr.util.TraversingItemVisitor.Default- Throws:
javax.jcr.RepositoryException
-
isCacheEntryNode
public static boolean isCacheEntryNode(javax.jcr.Node node) throws javax.jcr.RepositoryException - Throws:
javax.jcr.RepositoryException
-
isEmptyBucketNode
public static boolean isEmptyBucketNode(javax.jcr.Node node) throws javax.jcr.RepositoryException - Throws:
javax.jcr.RepositoryException
-
isBucketNode
public static boolean isBucketNode(javax.jcr.Node node) throws javax.jcr.RepositoryException - Throws:
javax.jcr.RepositoryException
-
persistSession
protected void persistSession() throws javax.jcr.RepositoryException- Throws:
javax.jcr.RepositoryException
-
getEvictionCount
public long getEvictionCount()
-