Class: Dionysus::Producer::Outbox::DatadogLatencyReporterScheduler
- Inherits:
-
Object
- Object
- Dionysus::Producer::Outbox::DatadogLatencyReporterScheduler
- Defined in:
- lib/dionysus/producer/outbox/datadog_latency_reporter_scheduler.rb
Instance Method Summary collapse
- #add_to_schedule ⇒ Object
-
#initialize(config: Dionysus::Producer.configuration) ⇒ DatadogLatencyReporterScheduler
constructor
A new instance of DatadogLatencyReporterScheduler.
Constructor Details
#initialize(config: Dionysus::Producer.configuration) ⇒ DatadogLatencyReporterScheduler
Returns a new instance of DatadogLatencyReporterScheduler.
14 15 16 |
# File 'lib/dionysus/producer/outbox/datadog_latency_reporter_scheduler.rb', line 14 def initialize(config: Dionysus::Producer.configuration) @config = config end |
Instance Method Details
#add_to_schedule ⇒ Object
18 19 20 |
# File 'lib/dionysus/producer/outbox/datadog_latency_reporter_scheduler.rb', line 18 def add_to_schedule find || create end |