|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Cache
Cache specifies an interface for any type of cache wanting to serve cached ooweb responses. It can be used as part of an adapter API
Method Summary | |
---|---|
ResponseState |
get(ObjectAndMethod oam)
return a cached ResponseState for the keyed ObjectAndMethod, or null if no such entry exists (or if it's just been expired) |
void |
put(ObjectAndMethod oam,
ResponseState state,
java.lang.Long timeout)
add a new object to cache specifying the maximum timeout |
Method Detail |
---|
ResponseState get(ObjectAndMethod oam)
oam
-
void put(ObjectAndMethod oam, ResponseState state, java.lang.Long timeout)
oam
- state
- timeout
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |