struct

Crabbit::StreamStats

Inherits Struct < Value < Object

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.

Constructors

new(values : Hash(String, Int64))
Source

Instance methods

[](name : String) : Int64 | Nil

Returns the statistic named name, or nil when the broker omitted it.

Source
clone
Source
copy_with(values _values = @values)
Source
values