Class Backlog.Literal
java.lang.Object
io.micronaut.coherence.annotation.Backlog.Literal
- All Implemented Interfaces:
Annotation
- Enclosing class:
- Backlog
An annotation literal for the
Backlog annotation.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class io.micronaut.coherence.annotation.Backlog
Backlog.Literal, Backlog.Type -
Method Summary
Modifier and TypeMethodDescriptionClass<? extends Annotation>Method returns the type of the annotation literal.booleaninthashCode()static Backlog.Literalof(Backlog.Type type) Create aBacklog.Literal.value()The backlog event type.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.annotation.Annotation
toString
-
Method Details
-
of
Create aBacklog.Literal.- Parameters:
type- the backlog event type- Returns:
- a
Backlog.Literalwith the specified value
-
value
The backlog event type.- Returns:
- the backlog event type
-
equals
- Specified by:
equalsin interfaceAnnotation
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceAnnotation
-
annotationType
Method returns the type of the annotation literal. The value is resolved lazily during the first call of this method.- Specified by:
annotationTypein interfaceAnnotation- Returns:
- annotation type of this literal.
-