Class Permits.Literal
java.lang.Object
com.oracle.coherence.cdi.AnnotationLiteral<Permits>
com.oracle.coherence.concurrent.cdi.Permits.Literal
- All Implemented Interfaces:
 Annotation
- Enclosing class:
 Permits
An annotation literal for the 
Permits annotation.- See Also:
 
- 
Nested Class Summary
Nested classes/interfaces inherited from class com.oracle.coherence.concurrent.cdi.Permits
Permits.Literal - 
Method Summary
Modifier and TypeMethodDescriptionstatic Permits.Literalof(int sPermits) Create aPermits.Literal.intvalue()The permits count for the semaphore.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 aPermits.Literal.- Parameters:
 sPermits- the permits count- Returns:
 - a 
Permits.Literalwith the specified value 
 - 
value
public int value()The permits count for the semaphore.- Returns:
 - the permits count
 
 
 -