|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Cache
Simple cache interface for sameas service.
| Method Summary | ||
|---|---|---|
|
get(CacheKey cacheKey,
Class<T> type)
Retrieves an object from the cache. |
|
|
put(CacheKey cacheKey,
T cacheValue)
Add a new entry in the cache. |
|
| Method Detail |
|---|
<T> void put(CacheKey cacheKey,
T cacheValue)
T - The stored object typecacheKey - The cache keycacheValue - The stored object
<T> T get(CacheKey cacheKey,
Class<T> type)
T - The stored object typecacheKey - The cache keytype - The stored object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||