Class: SolidLoop::Reaper::Result
- Inherits:
-
Struct
- Object
- Struct
- SolidLoop::Reaper::Result
- Defined in:
- lib/solid_loop/reaper.rb
Overview
DIAGNOSTIC return value: the counters below are a
best-effort summary of what one reap! pass did, intended for logging /
liveness metrics — NOT a stable, precise public API. In particular
cleaned_shell_loops counts LOOPS whose orphaned processing shells were
cleaned (incremented once per loop), not the number of shell ROWS cleaned;
the name says so to avoid the earlier "shells" mis-read (a single loop can
own several shells). Treat the struct as a diagnostic snapshot; the field set
may grow across releases.
Instance Attribute Summary collapse
-
#cleaned_shell_loops ⇒ Object
Returns the value of attribute cleaned_shell_loops.
-
#repaired_gaps ⇒ Object
Returns the value of attribute repaired_gaps.
-
#requeued_dead_llm ⇒ Object
Returns the value of attribute requeued_dead_llm.
-
#requeued_stale_queue ⇒ Object
Returns the value of attribute requeued_stale_queue.
-
#requeued_stalled_tools ⇒ Object
Returns the value of attribute requeued_stalled_tools.
Instance Method Summary collapse
Instance Attribute Details
#cleaned_shell_loops ⇒ Object
Returns the value of attribute cleaned_shell_loops
23 24 25 |
# File 'lib/solid_loop/reaper.rb', line 23 def cleaned_shell_loops @cleaned_shell_loops end |
#repaired_gaps ⇒ Object
Returns the value of attribute repaired_gaps
23 24 25 |
# File 'lib/solid_loop/reaper.rb', line 23 def repaired_gaps @repaired_gaps end |
#requeued_dead_llm ⇒ Object
Returns the value of attribute requeued_dead_llm
23 24 25 |
# File 'lib/solid_loop/reaper.rb', line 23 def requeued_dead_llm @requeued_dead_llm end |
#requeued_stale_queue ⇒ Object
Returns the value of attribute requeued_stale_queue
23 24 25 |
# File 'lib/solid_loop/reaper.rb', line 23 def requeued_stale_queue @requeued_stale_queue end |
#requeued_stalled_tools ⇒ Object
Returns the value of attribute requeued_stalled_tools
23 24 25 |
# File 'lib/solid_loop/reaper.rb', line 23 def requeued_stalled_tools @requeued_stalled_tools end |
Instance Method Details
#total ⇒ Object
31 32 33 |
# File 'lib/solid_loop/reaper.rb', line 31 def total requeued_dead_llm + cleaned_shell_loops + requeued_stalled_tools + repaired_gaps + requeued_stale_queue end |