public static class AbstractCacheEngine.CacheResult extends Object implements Serializable
Represents the value to be cached. The class wraps two maps: one for best effort process result and one for classic and full process result.
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractCacheEngine.CacheResult.Entry
An entry wraps dynamic and static nuts for a cache result.
|
| Constructor and Description |
|---|
AbstractCacheEngine.CacheResult(Map<String,AbstractCacheEngine.CacheResult.Entry> bestEffortResult,
Map<String,AbstractCacheEngine.CacheResult.Entry> defaultResult)
Builds a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,AbstractCacheEngine.CacheResult.Entry> |
getBestEffortResult()
Gets the best effort result.
|
Map<String,AbstractCacheEngine.CacheResult.Entry> |
getDefaultResult()
Gets the default result.
|
void |
setDefaultResult(Map<String,AbstractCacheEngine.CacheResult.Entry> defaultResult)
Sets the default result.
|
public AbstractCacheEngine.CacheResult(Map<String,AbstractCacheEngine.CacheResult.Entry> bestEffortResult, Map<String,AbstractCacheEngine.CacheResult.Entry> defaultResult)
Builds a new instance.
bestEffortResult - the best effortdefaultResult - the defaultpublic Map<String,AbstractCacheEngine.CacheResult.Entry> getDefaultResult()
Gets the default result.
public Map<String,AbstractCacheEngine.CacheResult.Entry> getBestEffortResult()
Gets the best effort result.
public void setDefaultResult(Map<String,AbstractCacheEngine.CacheResult.Entry> defaultResult)
Sets the default result.
defaultResult - the default resultCopyright © 2012-2015. All Rights Reserved.