module Shamu::Events::ChannelStats
Indicates that an {EventsService} supports reporting channel activity states.
Public Instance Methods
channel_stats( name )
click to toggle source
Gets stats for the given `channel`.
#### Stats Included in the results.
-
name name of the channel.
-
subscribers_count the number of subscribers.
-
queue_size the size of the message queue.
-
dispatching true if the channel is currently dispatching messages.
@param [String] name of the channel @return [Hash] stats.
# File lib/shamu/events/channel_stats.rb, line 18 def channel_stats( name ) fail NotImplementedError end