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 ? 2008-2009 Red Hat Middleware LLC (http://www.jboss.com/)