Class Count.Literal
- All Implemented Interfaces:
Annotation
- Enclosing class:
Count
An annotation literal for the
Count
annotation.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.oracle.coherence.concurrent.cdi.Count
Count.Literal
-
Method Summary
Modifier and TypeMethodDescriptionstatic Count.Literal
of
(int nCount) Create aCount.Literal
.int
value()
The count for the countdown latch.Methods inherited from class com.oracle.coherence.cdi.AnnotationLiteral
annotationType, equals, hashCode
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.annotation.Annotation
toString
-
Method Details
-
of
Create aCount.Literal
.- Parameters:
nCount
- the latch count- Returns:
- a
Count.Literal
with the specified value
-
value
public int value()The count for the countdown latch.- Returns:
- the latch count
-