Class: SourceMonitor::Jobs::SolidQueueMetrics::QueueSummary
- Inherits:
-
Struct
- Object
- Struct
- SourceMonitor::Jobs::SolidQueueMetrics::QueueSummary
- Defined in:
- lib/source_monitor/jobs/solid_queue_metrics.rb
Instance Attribute Summary collapse
-
#available ⇒ Object
Returns the value of attribute available.
-
#failed_count ⇒ Object
Returns the value of attribute failed_count.
-
#last_enqueued_at ⇒ Object
Returns the value of attribute last_enqueued_at.
-
#last_finished_at ⇒ Object
Returns the value of attribute last_finished_at.
-
#last_started_at ⇒ Object
Returns the value of attribute last_started_at.
-
#paused ⇒ Object
Returns the value of attribute paused.
-
#queue_name ⇒ Object
Returns the value of attribute queue_name.
-
#ready_count ⇒ Object
Returns the value of attribute ready_count.
-
#recurring_count ⇒ Object
Returns the value of attribute recurring_count.
-
#scheduled_count ⇒ Object
Returns the value of attribute scheduled_count.
Instance Method Summary collapse
Instance Attribute Details
#available ⇒ Object
Returns the value of attribute available
6 7 8 |
# File 'lib/source_monitor/jobs/solid_queue_metrics.rb', line 6 def available @available end |
#failed_count ⇒ Object
Returns the value of attribute failed_count
6 7 8 |
# File 'lib/source_monitor/jobs/solid_queue_metrics.rb', line 6 def failed_count @failed_count end |
#last_enqueued_at ⇒ Object
Returns the value of attribute last_enqueued_at
6 7 8 |
# File 'lib/source_monitor/jobs/solid_queue_metrics.rb', line 6 def last_enqueued_at @last_enqueued_at end |
#last_finished_at ⇒ Object
Returns the value of attribute last_finished_at
6 7 8 |
# File 'lib/source_monitor/jobs/solid_queue_metrics.rb', line 6 def last_finished_at @last_finished_at end |
#last_started_at ⇒ Object
Returns the value of attribute last_started_at
6 7 8 |
# File 'lib/source_monitor/jobs/solid_queue_metrics.rb', line 6 def last_started_at @last_started_at end |
#paused ⇒ Object
Returns the value of attribute paused
6 7 8 |
# File 'lib/source_monitor/jobs/solid_queue_metrics.rb', line 6 def paused @paused end |
#queue_name ⇒ Object
Returns the value of attribute queue_name
6 7 8 |
# File 'lib/source_monitor/jobs/solid_queue_metrics.rb', line 6 def queue_name @queue_name end |
#ready_count ⇒ Object
Returns the value of attribute ready_count
6 7 8 |
# File 'lib/source_monitor/jobs/solid_queue_metrics.rb', line 6 def ready_count @ready_count end |
#recurring_count ⇒ Object
Returns the value of attribute recurring_count
6 7 8 |
# File 'lib/source_monitor/jobs/solid_queue_metrics.rb', line 6 def recurring_count @recurring_count end |
#scheduled_count ⇒ Object
Returns the value of attribute scheduled_count
6 7 8 |
# File 'lib/source_monitor/jobs/solid_queue_metrics.rb', line 6 def scheduled_count @scheduled_count end |
Instance Method Details
#total_count ⇒ Object
19 20 21 |
# File 'lib/source_monitor/jobs/solid_queue_metrics.rb', line 19 def total_count ready_count + scheduled_count + failed_count end |