| Package | Description |
|---|---|
| net.tascalate.concurrent.locks |
| Modifier and Type | Interface and Description |
|---|---|
static interface |
AsyncSemaphoreLock.Token
A semaphore token indicating that necessary permit has been exclusively acquired.
|
| Modifier and Type | Method and Description |
|---|---|
Promise<AsyncLock.Token> |
DefaultAsyncLock.acquire() |
Optional<AsyncLock.Token> |
DefaultAsyncLock.tryAcquire() |
Copyright © 2021. All rights reserved.