Class Count.Literal
- java.lang.Object
-
- com.oracle.coherence.cdi.AnnotationLiteral<Count>
-
- com.oracle.coherence.concurrent.cdi.Count.Literal
-
- All Implemented Interfaces:
Annotation
- Enclosing class:
- Count
public static class Count.Literal extends AnnotationLiteral<Count> implements Count
An annotation literal for theCount
annotation.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.oracle.coherence.concurrent.cdi.Count
Count.Literal
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static 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
annotationType, equals, hashCode, toString
-
-
-
-
Method Detail
-
of
public static Count.Literal of(int nCount)
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
-
-