public class Semaphore extends Object
| Modifier and Type | Field and Description |
|---|---|
protected long |
notifications |
| Constructor and Description |
|---|
Semaphore(int count) |
public void acquire()
public boolean acquire(long delay)
public void release()
Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.