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
public class EntryNodeByStringKeyVisitor extends AbstractNodeVisitor
-
-
Constructor Summary
Constructors Constructor Description EntryNodeByStringKeyVisitor(int maxLevel, org.apache.sling.commons.classloader.DynamicClassLoaderManager dclm, String cacheKeyStr)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidentering(javax.jcr.Node node, int level)CacheContentgetCacheContentIfPresent()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, persistSession
-
-
-
-
Constructor Detail
-
EntryNodeByStringKeyVisitor
public EntryNodeByStringKeyVisitor(int maxLevel, org.apache.sling.commons.classloader.DynamicClassLoaderManager dclm, String cacheKeyStr)
-
-
Method Detail
-
getCacheContentIfPresent
public CacheContent 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
-
-