public class CachePolicyResult extends Object
Modifier and Type | Class and Description |
---|---|
static class |
CachePolicyResult.CachePolicyBehaviour
Descriptor of the cache policy behavior used by this cache policy result.
|
Modifier and Type | Field and Description |
---|---|
static CachePolicyResult.CachePolicyBehaviour |
bypass |
static CachePolicyResult.CachePolicyBehaviour |
store |
static CachePolicyResult.CachePolicyBehaviour |
useCache |
Constructor and Description |
---|
CachePolicyResult(CachePolicyResult.CachePolicyBehaviour behaviour,
Object cacheKey,
Object cachedEntry) |
Modifier and Type | Method and Description |
---|---|
CachePolicyResult.CachePolicyBehaviour |
getBehaviour() |
Object |
getCachedEntry() |
Object |
getCacheKey() |
String |
getCacheName() |
void |
setCachedEntry(Object entry) |
void |
setCacheName(String cacheName) |
String |
toString() |
public static final CachePolicyResult.CachePolicyBehaviour store
public static final CachePolicyResult.CachePolicyBehaviour useCache
public static final CachePolicyResult.CachePolicyBehaviour bypass
public CachePolicyResult(CachePolicyResult.CachePolicyBehaviour behaviour, Object cacheKey, Object cachedEntry)
public CachePolicyResult.CachePolicyBehaviour getBehaviour()
public Object getCacheKey()
public void setCachedEntry(Object entry)
public Object getCachedEntry()
public void setCacheName(String cacheName)
public String getCacheName()
Copyright © 2020 Magnolia International Ltd.. All rights reserved.