Package reactor.pool

Class PoolAcquirePendingLimitException

All Implemented Interfaces:
Serializable

public class PoolAcquirePendingLimitException extends RuntimeException
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 Details

    • PoolAcquirePendingLimitException

      public PoolAcquirePendingLimitException(int maxPending)
    • PoolAcquirePendingLimitException

      public PoolAcquirePendingLimitException(int maxPending, String message)
  • Method Details

    • getAcquirePendingLimit

      public int getAcquirePendingLimit()
      Returns:
      the configured maximum pending size for the Pool