|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CacheModeStrategy
Method Summary | |
---|---|
CacheMode |
getCacheMode()
Returns the cache mode to be used for an operation where CacheMode.DYNAMIC is the configured cache mode. |
Method Detail |
---|
CacheMode getCacheMode()
CacheMode.DYNAMIC
is the configured cache mode.
This method is called prior to every operation where CacheMode.DYNAMIC
applies. The returned value is then used as the
effective cache mode for the operation.
This method may not return null
or CacheMode.DYNAMIC
.
If it does, an IllegalArgumentException
will be thrown by the
operation where CacheMode.DYNAMIC
is used.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |