| Modifier and Type | Method and Description |
|---|---|
CacheKey |
HttpCacheConfig.buildCacheKey(org.apache.sling.api.SlingHttpServletRequest request)
Creates the CacheKey object using the CacheKeyFactory associated with this HttpCacheConfig factory instance.
|
CacheKey |
HttpCacheConfig.buildCacheKey(String resourcePath)
Creates the CacheKey object using the CacheKeyFactory associated with this HttpCacheConfig factory instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
HttpCacheConfig.knows(CacheKey key)
Returns true if the key is generated using this cache config.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CombinedCacheKey
Combined cache key.
|
class |
GroupCacheKey
The GroupCacheKey
CacheKey that differentiates on user group authentication.
|
class |
KeyValueCacheKey |
class |
RequestPathCacheKey
RequestPathCacheKey.
|
class |
ResourcePathCacheKey
Cachekey that differentiates based on:
|
| Modifier and Type | Method and Description |
|---|---|
CacheKey |
CacheKeyFactory.build(org.apache.sling.api.SlingHttpServletRequest request,
HttpCacheConfig cacheConfig)
Build a cache key.
|
CacheKey |
CacheKeyFactory.build(String resourcePath,
HttpCacheConfig cacheConfig)
Build a cache key.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
CacheKeyFactory.doesKeyMatchConfig(CacheKey key,
HttpCacheConfig cacheConfig)
Does the Cache Key matches the Http Cache Config.
|
boolean |
CacheKey.isInvalidatedBy(CacheKey cacheKey)
Determines if the @{param cacheKey} will invalidate this cache key entry.
|
boolean |
AbstractCacheKey.isInvalidatedBy(CacheKey cacheKey) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
HttpCacheStore.contains(CacheKey key)
Check if there is an entry in cache for the given key.
|
CacheContent |
HttpCacheStore.getIfPresent(CacheKey key)
Get the Cache item given a key.
|
void |
HttpCacheStore.invalidate(CacheKey key)
Invalidate the given cache key.
|
void |
HttpCacheStore.put(CacheKey key,
CacheContent content)
Put an item into the cache.
|
| Modifier and Type | Method and Description |
|---|---|
CacheKey |
EntryNodeToCacheKeyHandler.get() |
| Modifier and Type | Method and Description |
|---|---|
javax.jcr.Node |
BucketNodeHandler.createOrRetrieveEntryNode(CacheKey key,
long engineDefaultExpiryInMs) |
javax.jcr.Node |
BucketNodeHandler.getEntryIfExists(CacheKey key) |
javax.jcr.Node |
BucketNodeHandler.getEntryIfExists(CacheKey key,
boolean ignoreExpiration) |
| Modifier and Type | Method and Description |
|---|---|
protected CacheKey |
EntryNodeByStringKeyVisitor.getCacheKey(javax.jcr.Node node) |
protected CacheKey |
InvalidateByCacheConfigVisitor.getCacheKey(javax.jcr.Node node) |
protected CacheKey |
EntryNodeMapVisitor.getCacheKey(javax.jcr.Node node) |
| Modifier and Type | Method and Description |
|---|---|
Map<CacheKey,CacheContent> |
EntryNodeMapVisitor.getCache() |
| Constructor and Description |
|---|
BucketNodeFactory(javax.jcr.Session session,
String cacheRootPath,
CacheKey key,
Integer cacheKeySplitDepth) |
EntryNodeWriter(javax.jcr.Session session,
javax.jcr.Node entryNode,
CacheKey cacheKey,
CacheContent cacheContent,
long expireTimeInMilliSeconds,
Clock clock) |
| Modifier and Type | Method and Description |
|---|---|
static File |
CacheUtils.createTemporaryCacheFile(CacheKey cacheKey)
Create a temporary file for taking copy of servlet response stream.
|
Copyright © 2013–2020 Adobe. All rights reserved.