public class Semaphore
extends java.util.concurrent.Semaphore
| Constructor and Description |
|---|
Semaphore(int maxSize,
boolean fairness,
ManagedConnectionPoolStatisticsImpl statistics)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
tryAcquire(long timeout,
java.util.concurrent.TimeUnit unit) |
public Semaphore(int maxSize,
boolean fairness,
ManagedConnectionPoolStatisticsImpl statistics)
maxSize - The maxumum sizefairness - The fairnessstatistics - The statistics moduleCopyright © 2013 IronJacamar (http://www.ironjacamar.org)