« Swoole\Channel::push
Swoole\Client »

Swoole\Channel::stats

(PECL swoole >= 1.9.0)

Swoole\Channel::stats — Get stats of swoole channel.

説明

public function Swoole\Channel::stats(): array

Get the numbers of queued elements and total size of the memory used by the queue.

パラメータ

この関数にはパラメータはありません。

戻り値

The stats of the Swoole channel.

関連キーワード:
stats   Swoole   Channel   swoole   channel   push   Client   numbers   queued   elements   total   size   memory   used   queue
関連する関数・ページ:
class.swoole-channel   swoole-channel.pop   swoole-channel.construct   swoole-channel.push   swoole-channel.destruct   swoole-server.stats