Sha256: 1f3e8929e7e00a6fbb4ec28be7227a014da3b816bdfe1cfcec695a10be6caf48

Contents?: true

Size: 654 Bytes

Versions: 17

Compression:

Stored size: 654 Bytes

Contents

module Shamu
  module Events

    # Indicates that an {EventsService} supports reporting channel activity states.
    module ChannelStats

      # 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.
      def channel_stats( name )
        fail NotImplementedError
      end
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
shamu-0.0.24 lib/shamu/events/channel_stats.rb
shamu-0.0.21 lib/shamu/events/channel_stats.rb
shamu-0.0.20 lib/shamu/events/channel_stats.rb
shamu-0.0.19 lib/shamu/events/channel_stats.rb
shamu-0.0.18 lib/shamu/events/channel_stats.rb
shamu-0.0.17 lib/shamu/events/channel_stats.rb
shamu-0.0.15 lib/shamu/events/channel_stats.rb
shamu-0.0.14 lib/shamu/events/channel_stats.rb
shamu-0.0.13 lib/shamu/events/channel_stats.rb
shamu-0.0.11 lib/shamu/events/channel_stats.rb
shamu-0.0.9 lib/shamu/events/channel_stats.rb
shamu-0.0.8 lib/shamu/events/channel_stats.rb
shamu-0.0.7 lib/shamu/events/channel_stats.rb
shamu-0.0.5 lib/shamu/events/channel_stats.rb
shamu-0.0.4 lib/shamu/events/channel_stats.rb
shamu-0.0.3 lib/shamu/events/channel_stats.rb
shamu-0.0.2 lib/shamu/events/channel_stats.rb