public final class ProcessLimitedJdbcSemaphore extends Object implements Semaphore
| Constructor and Description | 
|---|
| ProcessLimitedJdbcSemaphore(JdbcSemaphore jdbcSemaphore,
                           int maxProcessPermits) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | release(int nrReservations)release a number of permits. | 
| String | toString() | 
| boolean | tryAcquire(int nrPermits,
          long deadlineNanos) | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitrelease, toSemaphoreacquire, acquire, tryAcquire, tryAcquirepublic ProcessLimitedJdbcSemaphore(JdbcSemaphore jdbcSemaphore, int maxProcessPermits)
public void release(int nrReservations)
Semaphorepublic boolean tryAcquire(int nrPermits,
                          long deadlineNanos)
                   throws InterruptedException
tryAcquire in interface PermitSupplierInterruptedExceptionCopyright © 2018 SPF4J. All rights reserved.