|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value={TYPE,METHOD,FIELD}) @Retention(value=RUNTIME) public @interface Cache
Add caching strategy to a root entity or a collection
Required Element Summary | |
---|---|
CacheConcurrencyStrategy |
usage
concurrency strategy chosen |
Optional Element Summary | |
---|---|
String |
include
whether or not lazy-properties are included in the second level cache default all, other value: non-lazy |
String |
region
cache region name |
Element Detail |
---|
public abstract CacheConcurrencyStrategy usage
public abstract String region
public abstract String include
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |