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) |
void |
removeListeners() |
public void acquireUninterruptibly()
public int queueSize()
public void removeListeners()
public void acquire(Runnable listener)
public boolean remove(Runnable listener)
public int getCounter()
public void release()
Copyright © 2014–2017 The Redisson Project. All rights reserved.