Class CacheAnnotation
java.lang.Object
org.hibernate.boot.models.annotations.internal.CacheAnnotation
- All Implemented Interfaces:
Annotation
@Generated("org.hibernate.orm.build.annotations.ClassGeneratorProcessor")
public class CacheAnnotation
extends Object
implements Cache
-
Constructor Summary
ConstructorsConstructorDescriptionCacheAnnotation
(Map<String, Object> attributeValues, org.hibernate.models.spi.ModelsContext modelContext) Used in creating annotation instances from Jandex variantCacheAnnotation
(Cache annotation, org.hibernate.models.spi.ModelsContext modelContext) Used in creating annotation instances from JDK variantCacheAnnotation
(org.hibernate.models.spi.ModelsContext modelContext) Used in creating dynamic annotation instances (e.g. -
Method Summary
Modifier and TypeMethodDescriptionClass<? extends Annotation>
boolean
void
includeLazy
(boolean value) region()
void
usage()
void
usage
(CacheConcurrencyStrategy value)
-
Constructor Details
-
CacheAnnotation
public CacheAnnotation(org.hibernate.models.spi.ModelsContext modelContext) Used in creating dynamic annotation instances (e.g. from XML) -
CacheAnnotation
Used in creating annotation instances from JDK variant -
CacheAnnotation
public CacheAnnotation(Map<String, Object> attributeValues, org.hibernate.models.spi.ModelsContext modelContext) Used in creating annotation instances from Jandex variant
-
-
Method Details
-
annotationType
- Specified by:
annotationType
in interfaceAnnotation
-
usage
-
usage
-
region
-
region
-
includeLazy
public boolean includeLazy() -
includeLazy
public void includeLazy(boolean value)
-