|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CacheSpec
This interface describes how a given BeanList
provided by a BeanListResponse
object can be cached.
This interface is designed to be implemented by clients. |
Nested Class Summary | |
---|---|
static class |
CacheSpec.Type
Indicates the type of cache that shall be used to cache the given BeanList
object. |
Method Summary | |
---|---|
java.lang.Object |
getCacheKey()
Returns the cache key for a given object. |
CacheSpec.Type |
getType()
Returns the cache type for caching a given BeanList . |
Method Detail |
---|
java.lang.Object getCacheKey()
null
. In this case, the object will not be cached.
Cached objects may be access by concurrent threads and requests.
CacheSpec.Type getType()
BeanList
. The returned value can be one of:
Type.DEFAULT
Type.INVALIDATE_ON_LOGIN
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |