|
|||||||||
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 | |
---|---|
java.lang.String |
include
whether or not lazy-properties are included in the second level cache default all, other value: non-lazy |
java.lang.String |
region
cache region name |
Element Detail |
---|
public abstract CacheConcurrencyStrategy usage
public abstract java.lang.String region
public abstract java.lang.String include
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |