struct
Crabbit::StreamStats
- Crabbit::StreamStats
- Struct
- Value
- Object
Overview
Broker-provided statistics for a stream.
Keys are RabbitMQ protocol names such as first_chunk_id,
last_chunk_id, committed_chunk_id, and stream_size. Unknown future
keys are preserved in #values.
Defined in:
crabbit/types.crConstructors
Instance Method Summary
-
#[](name : String) : Int64 | Nil
Returns the statistic named name, or
nilwhen the broker omitted it. - #clone
- #copy_with(values _values = @values)
- #values : Hash(String, Int64)
Constructor Detail
Instance Method Detail
def [](name : String) : Int64 | Nil
#
Returns the statistic named name, or nil when the broker omitted it.