Class: Wurk::Queue::Snapshot
- Inherits:
-
Data
- Object
- Data
- Wurk::Queue::Snapshot
- Defined in:
- lib/wurk/queue.rb
Overview
One read of #snapshot: size, latency, paused as their methods
answer them, and records, the page's JobRecords.
Instance Attribute Summary collapse
-
#latency ⇒ Object
readonly
Returns the value of attribute latency.
-
#paused ⇒ Object
(also: #paused?)
readonly
Returns the value of attribute paused.
-
#records ⇒ Object
readonly
Returns the value of attribute records.
-
#size ⇒ Object
readonly
Returns the value of attribute size.
Instance Attribute Details
#latency ⇒ Object (readonly)
Returns the value of attribute latency
31 32 33 |
# File 'lib/wurk/queue.rb', line 31 def latency @latency end |
#paused ⇒ Object (readonly) Also known as: paused?
Returns the value of attribute paused
31 32 33 |
# File 'lib/wurk/queue.rb', line 31 def paused @paused end |
#records ⇒ Object (readonly)
Returns the value of attribute records
31 32 33 |
# File 'lib/wurk/queue.rb', line 31 def records @records end |
#size ⇒ Object (readonly)
Returns the value of attribute size
31 32 33 |
# File 'lib/wurk/queue.rb', line 31 def size @size end |