public static interface Throttling.SemaphoreFactory
| Modifier and Type | Method and Description |
|---|---|
Semaphore |
newSemaphore(javax.enterprise.inject.spi.AnnotatedMethod<?> method,
String name,
boolean fair,
int permits) |
Semaphore newSemaphore(javax.enterprise.inject.spi.AnnotatedMethod<?> method, String name, boolean fair, int permits)
method - the intercepted method.name - bucket name.fair - should the semaphore be fair.permits - maximum permits the semaphore shoulg get.Copyright © 2016 The Apache Software Foundation. All rights reserved.