Package reactor.pool
Class PoolAcquirePendingLimitException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
reactor.pool.PoolAcquirePendingLimitException
- All Implemented Interfaces:
Serializable
A
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().- Author:
- Simon Baslé
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPoolAcquirePendingLimitException(int maxPending) PoolAcquirePendingLimitException(int maxPending, String message) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
PoolAcquirePendingLimitException
public PoolAcquirePendingLimitException(int maxPending) -
PoolAcquirePendingLimitException
-
-
Method Details
-
getAcquirePendingLimit
public int getAcquirePendingLimit()- Returns:
- the configured maximum pending size for the
Pool
-