public class PoolAcquirePendingLimitException extends RuntimeException
RuntimeException
that rejects a Pool.acquire()
operation due to too
many similar operations being in a pending state waiting for resources to be released.
The configured maximum pending size for the Pool
can be obtained by calling
getAcquirePendingLimit()
.Constructor and Description |
---|
PoolAcquirePendingLimitException(int maxPending) |
PoolAcquirePendingLimitException(int maxPending,
String message) |
Modifier and Type | Method and Description |
---|---|
int |
getAcquirePendingLimit() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public PoolAcquirePendingLimitException(int maxPending)
public PoolAcquirePendingLimitException(int maxPending, String message)
public int getAcquirePendingLimit()
Pool