public class AsyncSemaphore extends Object
Constructor and Description |
---|
AsyncSemaphore(int permits) |
Modifier and Type | Method and Description |
---|---|
void |
acquire(Runnable listener) |
void |
acquireUninterruptibly() |
int |
getCounter() |
int |
queueSize() |
void |
release() |
boolean |
remove(Runnable listener) |
Copyright © 2014–2016 The Redisson Project. All rights reserved.