public class AsyncSemaphore extends Object
AsyncSemaphore(int permits)
void
acquire(Runnable listener)
acquireUninterruptibly()
release()
boolean
remove(Runnable listener)
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public AsyncSemaphore(int permits)
public void acquireUninterruptibly()
public void acquire(Runnable listener)
public boolean remove(Runnable listener)
public void release()
Copyright © 2014–2016 The Redisson Project. All rights reserved.