module AggregateStreams::Controls::Store

Public Class Methods

category() click to toggle source
# File lib/aggregate_streams/controls/store.rb, line 16
def self.category
  StreamName::Output::Category.internal
end
example(category: nil, snapshot_interval: nil) click to toggle source
# File lib/aggregate_streams/controls/store.rb, line 4
def self.example(category: nil, snapshot_interval: nil)
  if category == :none
    category = nil
  else
    category ||= self.category
  end

  snapshot_interval ||= self.snapshot_interval

  AggregateStreams::Store.build(category: category, snapshot_interval: snapshot_interval)
end
snapshot_interval() click to toggle source
# File lib/aggregate_streams/controls/store.rb, line 20
def self.snapshot_interval
  11
end