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
    Constructor
    Description
    AbstractNodeVisitor(int maxLevel, long deltaSaveThreshold)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    protected void
    entering(javax.jcr.Node node, int level)
     
    long
     
    static boolean
    isBucketNode(javax.jcr.Node node)
     
    static boolean
    isCacheEntryNode(javax.jcr.Node node)
     
    static boolean
    isEmptyBucketNode(javax.jcr.Node node)
     
    protected void
    leaving(javax.jcr.Node node, int level)
     
    protected void
     
    void
    visit(javax.jcr.Node node)
     

    Methods inherited from class javax.jcr.util.TraversingItemVisitor.Default

    entering, leaving

    Methods inherited from class javax.jcr.util.TraversingItemVisitor

    visit

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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:
      visit in interface javax.jcr.ItemVisitor
      Overrides:
      visit in class javax.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:
      entering in class javax.jcr.util.TraversingItemVisitor.Default
      Throws:
      javax.jcr.RepositoryException
    • leaving

      protected void leaving(javax.jcr.Node node, int level) throws javax.jcr.RepositoryException
      Overrides:
      leaving in class javax.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()