public static interface AdaptedSemaphoreNamedLock.AdaptedSemaphore
Integer.MAX_VALUE permissions.| Modifier and Type | Method and Description |
|---|---|
void |
release(int perms) |
boolean |
tryAcquire(int perms,
long time,
TimeUnit unit) |
boolean tryAcquire(int perms, long time, TimeUnit unit) throws InterruptedException
InterruptedExceptionvoid release(int perms)
Copyright © 2010–2022 The Apache Software Foundation. All rights reserved.