![]() |
droplet 1.3.0
A multipurpose Discord bot with the hacker in mind
|
#include <ConnectionPool.hpp>
Public Member Functions | |
| ConnectionPool ()=default | |
| ~ConnectionPool () | |
| ConnectionPool (const ConnectionPool &)=delete | |
| ConnectionPool & | operator= (const ConnectionPool &)=delete |
| bool | connect (const std::string &connection_string, std::size_t pool_size=4) |
| void | disconnect () noexcept |
| bool | has_connection () const noexcept |
| ConnectionLease | acquire () |
Friends | |
| class | ConnectionLease |
|
default |
| ConnectionPool::~ConnectionPool | ( | ) |
|
delete |
|
nodiscard |
|
nodiscard |
|
noexcept |
|
nodiscardnoexcept |
|
delete |
|
friend |