public class AsyncSemaphore extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
AsyncSemaphore.SemaphorePermit |
Constructor and Description |
---|
AsyncSemaphore(int initialPermits) |
Modifier and Type | Method and Description |
---|---|
CompletableFuture<AsyncSemaphore.SemaphorePermit> |
acquire() |
public CompletableFuture<AsyncSemaphore.SemaphorePermit> acquire()
Copyright © 2019. All rights reserved.