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
InterruptedException
void release(int perms)
Copyright © 2010–2021 The Apache Software Foundation. All rights reserved.