|
static | startDatabase (&$config, $offset=null) |
|
static | getDbOffset (&$config, $offset=null) |
|
static | initPooling (&$config, $offset=null, int $size=16) |
| Initialize pooling (To invoke during Swoole startup)
|
|
static | pool ($offset='default') |
| gets a new DbConnection from pool
|
|
static | freePool ($db) |
|
static | go ($asyncCallable, $offset='default') |
|
Definition at line 18 of file DAOPooling.php.
◆ freePool()
◆ getDbOffset()
static getDbOffset |
( |
& |
$config, |
|
|
|
$offset = null |
|
) |
| |
|
staticabstract |
◆ go()
static go |
( |
|
$asyncCallable, |
|
|
|
$offset = 'default' |
|
) |
| |
|
static |
◆ initPooling()
static initPooling |
( |
& |
$config, |
|
|
|
$offset = null , |
|
|
int |
$size = 16 |
|
) |
| |
|
static |
Initialize pooling (To invoke during Swoole startup)
- Parameters
-
array | $config | |
| ?string | $offset |
int | $size | |
Definition at line 32 of file DAOPooling.php.
◆ pool()
static pool |
( |
|
$offset = 'default' | ) |
|
|
static |
gets a new DbConnection from pool
- Parameters
-
- Returns
- mixed
Definition at line 55 of file DAOPooling.php.
◆ startDatabase()
static startDatabase |
( |
& |
$config, |
|
|
|
$offset = null |
|
) |
| |
|
staticabstract |
◆ $pool
The documentation for this class was generated from the following file:
- C:/Users/myadd/Documents/GitHub/ubiquity-doc-api/vendor/phpmv/ubiquity/src/Ubiquity/orm/traits/DAOPooling.php