eee
This commit is contained in:
@@ -21,7 +21,7 @@ class Pool implements PoolInterface
|
|||||||
/**
|
/**
|
||||||
* @param $name
|
* @param $name
|
||||||
* @param $retain_number
|
* @param $retain_number
|
||||||
* @throws Exception
|
* @throws
|
||||||
*/
|
*/
|
||||||
public function flush($name, $retain_number): void
|
public function flush($name, $retain_number): void
|
||||||
{
|
{
|
||||||
@@ -61,7 +61,7 @@ class Pool implements PoolInterface
|
|||||||
/**
|
/**
|
||||||
* @param $name
|
* @param $name
|
||||||
* @return PoolItem
|
* @return PoolItem
|
||||||
* @throws Exception
|
* @throws
|
||||||
*/
|
*/
|
||||||
public function channel($name): PoolItem
|
public function channel($name): PoolItem
|
||||||
{
|
{
|
||||||
@@ -101,7 +101,7 @@ class Pool implements PoolInterface
|
|||||||
* @param string $name
|
* @param string $name
|
||||||
* @param int $waite_time
|
* @param int $waite_time
|
||||||
* @return array
|
* @return array
|
||||||
* @throws Exception
|
* @throws
|
||||||
*/
|
*/
|
||||||
public function get(string $name, int $waite_time = 3): mixed
|
public function get(string $name, int $waite_time = 3): mixed
|
||||||
{
|
{
|
||||||
@@ -112,7 +112,7 @@ class Pool implements PoolInterface
|
|||||||
/**
|
/**
|
||||||
* @param $name
|
* @param $name
|
||||||
* @return bool
|
* @return bool
|
||||||
* @throws Exception
|
* @throws
|
||||||
*/
|
*/
|
||||||
public function isNull($name): bool
|
public function isNull($name): bool
|
||||||
{
|
{
|
||||||
@@ -163,7 +163,7 @@ class Pool implements PoolInterface
|
|||||||
/**
|
/**
|
||||||
* @param string $name
|
* @param string $name
|
||||||
* @param mixed $data
|
* @param mixed $data
|
||||||
* @throws Exception
|
* @throws
|
||||||
*/
|
*/
|
||||||
public function push(string $name, mixed $data): void
|
public function push(string $name, mixed $data): void
|
||||||
{
|
{
|
||||||
@@ -175,7 +175,7 @@ class Pool implements PoolInterface
|
|||||||
* @param $name
|
* @param $name
|
||||||
* @param int $time
|
* @param int $time
|
||||||
* @return array
|
* @return array
|
||||||
* @throws Exception
|
* @throws
|
||||||
*/
|
*/
|
||||||
public function waite($name, int $time = 30): mixed
|
public function waite($name, int $time = 30): mixed
|
||||||
{
|
{
|
||||||
@@ -185,7 +185,7 @@ class Pool implements PoolInterface
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @param string $name
|
* @param string $name
|
||||||
* @throws Exception
|
* @throws
|
||||||
*/
|
*/
|
||||||
public function close(string $name): void
|
public function close(string $name): void
|
||||||
{
|
{
|
||||||
@@ -210,7 +210,7 @@ class Pool implements PoolInterface
|
|||||||
* @param string $name
|
* @param string $name
|
||||||
* @param mixed $client
|
* @param mixed $client
|
||||||
* @return void
|
* @return void
|
||||||
* @throws Exception
|
* @throws
|
||||||
*/
|
*/
|
||||||
public function release(string $name, mixed $client): void
|
public function release(string $name, mixed $client): void
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user