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.Literalof(int nCount) Create aCount.Literal.intvalue()The count for the countdown latch.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
-
Method Details
-
of
Create aCount.Literal.- Parameters:
nCount- the latch count- Returns:
- a
Count.Literalwith the specified value
-
value
public int value()The count for the countdown latch.- Returns:
- the latch count
-