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 the Count annotation.
See Also:
  • Method Details

    • of

      public static Count.Literal of(int nCount)
      Create a Count.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