Module: AggregateStreams::Controls::Store
- Defined in:
- lib/aggregate_streams/controls/store.rb
Class Method Summary collapse
- .category ⇒ Object
- .example(category: nil, snapshot_interval: nil) ⇒ Object
- .snapshot_interval ⇒ Object
Class Method Details
.category ⇒ Object
16 17 18 |
# File 'lib/aggregate_streams/controls/store.rb', line 16 def self.category StreamName::Output::Category.internal end |
.example(category: nil, snapshot_interval: nil) ⇒ Object
4 5 6 7 8 9 10 11 12 13 14 |
# 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 ⇒ Object
20 21 22 |
# File 'lib/aggregate_streams/controls/store.rb', line 20 def self.snapshot_interval 11 end |