PoolManager
class PoolManager
Properties
| protected RedisPool> | $pools |
Methods
void
purgeAll()
Remove all pools and close their connections.
void
purge(string $name)
Remove a pool and close its connections.
array
getPools()
Get the existing pools keyed by connection name.
Details
at line 21
__construct(Container $container)
Create a pool manager.
at line 32
void
purgeAll()
Remove all pools and close their connections.
Boot or tests only. Closes worker-shared pools; connections already checked out by concurrent coroutines are destroyed on release.
at line 64
void
purge(string $name)
Remove a pool and close its connections.
Boot or tests only. Closes a worker-shared pool; connections already checked out by concurrent coroutines are destroyed on release.
at line 77
RedisPool
pool(string $name)
Get or create a pool for the given connection name.
at line 126
array
getPools()
Get the existing pools keyed by connection name.