Module: Shamu::Events::ChannelStats
- Included in:
- ActiveRecord::Service, InMemory::Service
- Defined in:
- lib/shamu/events/channel_stats.rb
Overview
Indicates that an EventsService supports reporting channel activity states.
Instance Method Summary collapse
-
#channel_stats(name) ⇒ Hash
Gets stats for the given
channel
.
Instance Method Details
#channel_stats(name) ⇒ Hash
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.
18 19 20 |
# File 'lib/shamu/events/channel_stats.rb', line 18 def channel_stats( name ) fail NotImplementedError end |