poolSetSize abstract method

bool poolSetSize(
  1. int poolId,
  2. int newMaxSize
)

Resizes the pool by recreating it with newMaxSize.

All connections must be released before resize. Returns true on success, false on failure.

Implementation

bool poolSetSize(int poolId, int newMaxSize);