open fun setMaxWait(maxWait: Long): Unit
Set the maximum waiting time for fetching an object from the pool. Default is -1, waiting forever.
See Also GenericObjectPool#setMaxWaitMillis