|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CacheStorage<T>
| Method Summary | |
|---|---|
T |
getResultOrReturnNull(CacheKey key)
|
T |
getResultOrReturnNull(CacheKey key,
String scope)
|
void |
purge()
purge the complete cache |
void |
purge(String scope)
purge a particular ident, e.g. |
void |
putResult(CacheKey key,
T response)
default put method |
void |
putResult(CacheKey key,
T response,
String... scope)
put by ident/scope. |
void |
remove(CacheKey key)
default delete method |
void |
remove(CacheKey key,
String... scopes)
delete by ident/scope. |
| Method Detail |
|---|
T getResultOrReturnNull(CacheKey key)
T getResultOrReturnNull(CacheKey key,
String scope)
void putResult(CacheKey key,
T response)
void putResult(CacheKey key,
T response,
String... scope)
key - scope - response - void remove(CacheKey key)
void remove(CacheKey key,
String... scopes)
key - scope - response - void purge()
void purge(String scope)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||