Class EntryNodeByStringKeyVisitor
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.EntryNodeByStringKeyVisitor
- All Implemented Interfaces:
javax.jcr.ItemVisitor
-
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
ConstructorsConstructorDescriptionEntryNodeByStringKeyVisitor(int maxLevel, org.apache.sling.commons.classloader.DynamicClassLoaderManager dclm, String cacheKeyStr) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidentering(javax.jcr.Node node, int level) protected CacheKeygetCacheKey(javax.jcr.Node node) voidvisit(javax.jcr.Node node) Methods inherited from class com.adobe.acs.commons.httpcache.store.jcr.impl.visitor.AbstractNodeVisitor
close, getEvictionCount, isBucketNode, isCacheEntryNode, isEmptyBucketNode, leaving, persistSessionMethods inherited from class javax.jcr.util.TraversingItemVisitor.Default
entering, leavingMethods inherited from class javax.jcr.util.TraversingItemVisitor
visit
-
Constructor Details
-
EntryNodeByStringKeyVisitor
public EntryNodeByStringKeyVisitor(int maxLevel, org.apache.sling.commons.classloader.DynamicClassLoaderManager dclm, String cacheKeyStr)
-
-
Method Details
-
getCacheContentIfPresent
-
entering
protected void entering(javax.jcr.Node node, int level) throws javax.jcr.RepositoryException - Overrides:
enteringin classAbstractNodeVisitor- Throws:
javax.jcr.RepositoryException
-
getCacheKey
protected CacheKey getCacheKey(javax.jcr.Node node) throws javax.jcr.RepositoryException, IOException, ClassNotFoundException - Throws:
javax.jcr.RepositoryExceptionIOExceptionClassNotFoundException
-
visit
public void visit(javax.jcr.Node node) throws javax.jcr.RepositoryException - Specified by:
visitin interfacejavax.jcr.ItemVisitor- Overrides:
visitin classAbstractNodeVisitor- Throws:
javax.jcr.RepositoryException
-