Did you know ... Search Documentation:
Pack plasticsearch -- prolog/plasticsearch/connection_pool.pl
PublicShow source

Connection pool manages lifecycle of connections.

author
- Hongxin Liang
license
- Apache License Version 2.0
 get_connection(+Ps, -Connections) is det
Get one connection for pool. If there is no alive connection, a randomly selected one will be returned.
 mark_alive(+Ps, +Connection) is det
Mark a connection as alive.
 mark_dead(+Ps, +Connection) is det
Mark a connection as dead.