Package com.oracle.coherence.cdi
Class View.Literal
- All Implemented Interfaces:
 Annotation
- Enclosing class:
 View
An annotation literal for the 
View annotation.- See Also:
 
- 
Nested Class Summary
Nested classes/interfaces inherited from class com.oracle.coherence.cdi.View
View.Literal - 
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final View.LiteralA singleton instance ofView.Literalwith the cache values flag set to true. - 
Method Summary
Modifier and TypeMethodDescriptionbooleanObtain the flag that istrueto cache both the keys and values of the materialized view locally, orfalseto only cache the keys (the default value istrue).static View.Literalof(boolean fCacheValues) Create aView.Literal.Methods inherited from class com.oracle.coherence.cdi.AnnotationLiteral
annotationType, equals, hashCodeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.annotation.Annotation
toString 
- 
Field Details
- 
INSTANCE
A singleton instance ofView.Literalwith the cache values flag set to true. 
 - 
 - 
Method Details
- 
of
Create aView.Literal.- Parameters:
 fCacheValues- a flag that istrueto cache both the keys and values of the materialized view locally, orfalseto only cache the keys- Returns:
 - a 
View.Literalwith the specified value 
 - 
cacheValues
public boolean cacheValues()Obtain the flag that istrueto cache both the keys and values of the materialized view locally, orfalseto only cache the keys (the default value istrue).- Returns:
 trueto indicate that values should be cache orfalseto indicate that only keys should be cached.
 
 -