Ivan Ratnikov > MongoDB-Async-0.45 > MongoDB::Async::Pool

Download:
MongoDB-Async-0.45.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.1   Source   Latest Release: MongoDB-Async-0.702.3

NAME ^

MongoDB::Async::Pool - Connection pool

SYNOPSIS ^

The MongoDB::Async::Pool class creates a poll of MongoDB::Async::Connection connections

METHODS ^

new({ MongoDB::Async::Connection args }, { MongoDB::Async::Pool args });

Creates pool of MongoDB::Async::Connection objects

$pool->get;

Returns MongoDB::Async::Connection object. You don`t need to think about returning object to pool, it`ll be returned on DESTROY

TODO ^

Opened connections limit

Timeout to close unused connections

syntax highlighting: