struct AvalancheMQ::SegmentPosition
- AvalancheMQ::SegmentPosition
 - Struct
 - Value
 - Object
 
Included Modules
- Comparable(AvalancheMQ::SegmentPosition)
 
Defined in:
avalanchemq/segment_position.crConstant Summary
- 
        BYTESIZE = 
22 
Constructors
Class Method Summary
- .from_i64(i : Int64)
 - .from_io(io : IO, format = IO::ByteFormat::SystemEndian)
 - .make(segment, position, msg)
 - .parse(s)
 - .zero
 
Instance Method Summary
- #<=>(other : self)
 - #==(other : self)
 - #bytesize : UInt32
 - #end_position
 - #expiration_ts : Int64
 - #flags : SPFlags
 - 
        #hash(hasher)
        
          
See
Object#hash(hasher) - #position : UInt32
 - #priority : UInt8
 - #segment : UInt32
 - #to_i64
 - #to_io(io : IO, format)
 - 
        #to_s(io : IO)
        
          
Same as
#inspect(io). - #zero?
 
Constructor Detail
        
        def self.new(segment : UInt32, position : UInt32, bytesize : UInt32 = 0_u32, expiration_ts : Int64 = 0_i64, priority : UInt8 = 0_u8, flags : AvalancheMQ::SegmentPosition::SPFlags = SPFlags.new(0_u8))
        #