- awaittingTimeout
Duration awaittingTimeout()
Undocumented in source. Be warned that the author may not have intended to support it.
- awaittingTimeout
PoolOptions awaittingTimeout(Duration value)
Undocumented in source. Be warned that the author may not have intended to support it.
- getMaxSize
int getMaxSize()
@return the maximum pool size
- getMaxWaitQueueSize
int getMaxWaitQueueSize()
@return the maximum wait queue size
- opEquals
bool opEquals(Object o)
Undocumented in source. Be warned that the author may not have intended to support it.
- retry
PoolOptions retry(size_t value)
Undocumented in source. Be warned that the author may not have intended to support it.
- retry
size_t retry()
Undocumented in source. Be warned that the author may not have intended to support it.
- setMaxSize
PoolOptions setMaxSize(int maxSize)
Set the maximum pool size
- setMaxWaitQueueSize
PoolOptions setMaxWaitQueueSize(int maxWaitQueueSize)
Set the maximum connection request allowed in the wait queue, any requests beyond the max size will result in
an failure. If the value is set to a negative number then the queue will be unbounded.
- toHash
size_t toHash()
Undocumented in source. Be warned that the author may not have intended to support it.
The options for configuring a connection pool.
@author <a href="mailto:julien@julienviet.com">Julien Viet</a>