push_ex v0.0.1-rc4 PushEx.Instrumentation.Tracker

GenServer that tracks channels and transports to keep track of how many sockets/channels are connected currently. All tracking is for the current node only. Presence must be used for full-cluster tracking.

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor

Returns the number of channels connected to this node

Returns the number of sockets (transports) connected to this node

Link to this section Functions

Link to this function child_spec(arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function connected_channel_count()
connected_channel_count() :: non_neg_integer()

Returns the number of channels connected to this node.

Link to this function connected_socket_count()
connected_socket_count() :: non_neg_integer()

Returns the number of sockets (transports) connected to this node.