public interface CacheKey extends Serializable
hashCode(),
equals(Object), toString()
methods.Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
The equals method used to match up request-derived cache keys with keys in the httpcache.
|
default long |
getExpiryForAccess()
Gets the expiry time for the cache entry access / read.
|
default long |
getExpiryForCreation()
Gets the expiry time for the cache entry creation.
|
default long |
getExpiryForUpdate()
Gets the expiry time for the cache entry updated.
|
String |
getHierarchyResourcePath()
Gets the Hierarchy Resource Path (the resourcePath above jcr:content).
|
String |
getUri()
Get URI.
|
int |
hashCode()
The hashCode for the cache key.
|
boolean |
isInvalidatedBy(CacheKey cacheKey)
Determines if the @{param cacheKey} will invalidate this cache key entry.
|
String |
toString()
The useful string representation of this cache key.
|
String getUri()
String getHierarchyResourcePath()
default long getExpiryForCreation()
default long getExpiryForAccess()
default long getExpiryForUpdate()
boolean isInvalidatedBy(CacheKey cacheKey)
cacheKey
- int hashCode()
String toString()
Copyright © 2013–2021 Adobe. All rights reserved.