Class: Wurk::Stats::QueueSummary
- Inherits:
-
Data
- Object
- Data
- Wurk::Stats::QueueSummary
- Defined in:
- lib/wurk/stats.rb
Overview
Sidekiq exposes this as a ‘Data` class. Third-party gems destructure on `name`/`size`/`latency`/`paused?`, so the shape can’t change.
Instance Attribute Summary collapse
-
#latency ⇒ Object
readonly
Returns the value of attribute latency.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#paused ⇒ Object
(also: #paused?)
readonly
Returns the value of attribute paused.
-
#size ⇒ Object
readonly
Returns the value of attribute size.
Instance Attribute Details
#latency ⇒ Object (readonly)
Returns the value of attribute latency
16 17 18 |
# File 'lib/wurk/stats.rb', line 16 def latency @latency end |
#name ⇒ Object (readonly)
Returns the value of attribute name
16 17 18 |
# File 'lib/wurk/stats.rb', line 16 def name @name end |
#paused ⇒ Object (readonly) Also known as: paused?
Returns the value of attribute paused
16 17 18 |
# File 'lib/wurk/stats.rb', line 16 def paused @paused end |
#size ⇒ Object (readonly)
Returns the value of attribute size
16 17 18 |
# File 'lib/wurk/stats.rb', line 16 def size @size end |