|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectro.isdc.wro.util.AbstractDecorator<CacheStrategy<K,V>>
ro.isdc.wro.cache.support.CacheStrategyDecorator<K,V>
public class CacheStrategyDecorator<K,V>
A decorator of CacheStrategy.
| Constructor Summary | |
|---|---|
CacheStrategyDecorator(CacheStrategy<K,V> decorated)
|
|
| Method Summary | |
|---|---|
void |
clear()
Clear all cache contents. |
void |
destroy()
Perform the clean up. |
V |
get(K key)
Restore a value from the cache. |
void |
put(K key,
V value)
Put a value in the cache using a key. |
| Methods inherited from class ro.isdc.wro.util.AbstractDecorator |
|---|
getDecoratedObject, getOriginalDecoratedObject, getOriginalDecoratedObject, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CacheStrategyDecorator(CacheStrategy<K,V> decorated)
| Method Detail |
|---|
public void put(K key,
V value)
put in interface CacheStrategy<K,V>key - Object.value - Object.public V get(K key)
get in interface CacheStrategy<K,V>key - Object
public void clear()
clear in interface CacheStrategy<K,V>public void destroy()
destroy in interface CacheStrategy<K,V>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||