struct LavinMQ::SegmentPosition

Included Modules

Defined in:

lavinmq/segment_position.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(segment : UInt32, position : UInt32, bytesize : UInt32, has_dlx : Bool = false, priority : UInt8 = 0_u8, delay : UInt32 = 0_u32) #

[View source]

Class Method Detail

def self.make(segment : UInt32, position : UInt32, msg) #

[View source]

Instance Method Detail

def <=>(other : self) #

[View source]
def ==(other : self) #

def bytesize : UInt32 #

[View source]
def delay : UInt32 #

[View source]
def has_dlx? : Bool #

[View source]
def hash(hasher) #
Description copied from struct Struct

See Object#hash(hasher)


def position : UInt32 #

[View source]
def priority : UInt8 #

[View source]
def segment : UInt32 #

[View source]
def to_s(io : IO) #
Description copied from struct Struct

Same as #inspect(io).


[View source]