Class SemaphoreProducer
- java.lang.Object
-
- com.oracle.coherence.concurrent.internal.cdi.SemaphoreProducer
-
@ApplicationScoped public class SemaphoreProducer extends Object
CDI producer forLocalSemaphoreandRemoteSemaphoreinstances.- Since:
- 21.12
- Author:
- Vaso Putica 2021.12.01
-
-
Constructor Summary
Constructors Constructor Description SemaphoreProducer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringgetName(javax.enterprise.inject.spi.InjectionPoint ip)Determine the name of the semaphore from aNameannotation or member name.protected intgetPermits(javax.enterprise.inject.spi.InjectionPoint ip)
-
-
-
Method Detail
-
getName
protected String getName(javax.enterprise.inject.spi.InjectionPoint ip)
Determine the name of the semaphore from aNameannotation or member name.- Parameters:
ip- the injection point- Returns:
- the name of the semaphore to inject
-
getPermits
protected int getPermits(javax.enterprise.inject.spi.InjectionPoint ip)
-
-