Exception: Snails::Logger::Delivery::RetainedBatch
- Defined in:
- runtime/snails/logger/delivery.rb,
runtime/snails/logger/delivery.rbs
Overview
A batch the database lock kept out, now waiting for the next flush. Nothing was lost, so the local line is a warning: the operator sees the transport waiting, not a gap in the record stream.
Instance Method Summary collapse
-
#count ⇒ Integer
how many records are waiting for the next flush.
-
#initialize(count) ⇒ RetainedBatch
constructor
A new instance of RetainedBatch.
-
#severity ⇒ Symbol
how the local line reports the wait: nothing was lost.
Constructor Details
#initialize(count) ⇒ RetainedBatch
Returns a new instance of RetainedBatch.
18 |
# File 'runtime/snails/logger/delivery.rbs', line 18
def initialize: (Integer count) -> void
|
Instance Method Details
#count ⇒ Integer
how many records are waiting for the next flush.
60 |
# File 'runtime/snails/logger/delivery.rb', line 60
def count: () -> Integer
|
#severity ⇒ Symbol
how the local line reports the wait: nothing was lost.
67 |
# File 'runtime/snails/logger/delivery.rb', line 67
def severity: () -> Symbol
|