struct LavinMQ::SegmentPosition
- LavinMQ::SegmentPosition
- Struct
- Value
- Object
Included Modules
- Comparable(LavinMQ::SegmentPosition)
Defined in:
lavinmq/segment_position.crConstructors
Class Method Summary
Instance Method Summary
- #<=>(other : self)
- #==(other : self)
- #bytesize : UInt32
- #delay : UInt32
- #has_dlx? : Bool
-
#hash(hasher)
See
Object#hash(hasher)
- #position : UInt32
- #priority : UInt8
- #segment : UInt32
-
#to_s(io : IO)
Same as
#inspect(io)
.
Constructor Detail
def self.new(segment : UInt32, position : UInt32, bytesize : UInt32, has_dlx : Bool = false, priority : UInt8 = 0_u8, delay : UInt32 = 0_u32)
#