public class NoCacheStrategy<CacheKey,CacheValue> extends Object implements CacheStrategy<CacheKey,CacheValue>
| Constructor and Description |
|---|
NoCacheStrategy() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clear all cache contents.
|
void |
destroy()
Perform the clean up.
|
CacheValue |
get(CacheKey key)
Restore a value from the cache.
|
void |
put(CacheKey key,
CacheValue value)
Put a value in the cache using a key.
|
public static final String ALIAS
public void put(CacheKey key, CacheValue value)
CacheStrategyput in interface CacheStrategy<CacheKey,CacheValue>key - Object.value - Object.public CacheValue get(CacheKey key)
CacheStrategyget in interface CacheStrategy<CacheKey,CacheValue>key - Objectpublic void clear()
CacheStrategyclear in interface CacheStrategy<CacheKey,CacheValue>public void destroy()
CacheStrategydestroy in interface CacheStrategy<CacheKey,CacheValue>Copyright © 2008-2016. All Rights Reserved.