public class AsyncSemaphore
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
AsyncSemaphore.SemaphorePermit |
Constructor and Description |
---|
AsyncSemaphore(int initialPermits) |
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.CompletableFuture<AsyncSemaphore.SemaphorePermit> |
acquire() |
public java.util.concurrent.CompletableFuture<AsyncSemaphore.SemaphorePermit> acquire()