Class AbstractCacheKey
java.lang.Object
com.adobe.acs.commons.httpcache.keys.AbstractCacheKey
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CombinedCacheKey,GroupCacheKey,KeyValueCacheKey,RequestPathCacheKey,ResourcePathCacheKey
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAbstractCacheKey(String uri, HttpCacheConfig cacheConfig) AbstractCacheKey(org.apache.sling.api.SlingHttpServletRequest request, HttpCacheConfig cacheConfig) -
Method Summary
Modifier and TypeMethodDescriptionbooleanlonglonglonggetUri()inthashCode()booleanisInvalidatedBy(CacheKey cacheKey) protected StringmakeHierarchyResourcePath(String resourcePath) protected voidprotected void
-
Field Details
-
authenticationRequirement
-
uri
-
resourcePath
-
hierarchyResourcePath
-
customExpiryTime
protected long customExpiryTime -
expiryForAccessTime
protected long expiryForAccessTime -
expiryForUpdateTime
protected long expiryForUpdateTime
-
-
Constructor Details
-
AbstractCacheKey
public AbstractCacheKey() -
AbstractCacheKey
public AbstractCacheKey(org.apache.sling.api.SlingHttpServletRequest request, HttpCacheConfig cacheConfig) -
AbstractCacheKey
-
-
Method Details
-
parentWriteObject
- Throws:
IOException
-
parentReadObject
- Throws:
IOExceptionClassNotFoundException
-
equals
-
hashCode
public int hashCode() -
getAuthenticationRequirement
-
getUri
-
getHierarchyResourcePath
-
getResourcePath
-
isInvalidatedBy
-
getExpiryForCreation
public long getExpiryForCreation() -
getExpiryForAccess
public long getExpiryForAccess() -
getExpiryForUpdate
public long getExpiryForUpdate() -
makeHierarchyResourcePath
-