class LavinMQ::Policy

Included Modules

Direct Known Subclasses

Defined in:

lavinmq/policy.cr

Constructors

Class Method Summary

Instance Method Summary

Instance methods inherited from module LavinMQ::SortableJSON

details_tuple details_tuple, to_json(json : JSON::Builder) to_json

Constructor Detail

def self.new(name : String, vhost : String, pattern : Regex, apply_to : Target, definition : Hash(String, JSON::Any), priority : Int8) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Class Method Detail

def self.merge_definitions(p1 : Policy, p2 : Policy) : Hash(String, JSON::Any) #

[View source]
def self.merge_definitions(p1 : Nil, p2 : Policy) : Hash(String, JSON::Any) #

[View source]
def self.merge_definitions(p1 : Policy, p2 : Nil) : Hash(String, JSON::Any) #

[View source]
def self.merge_definitions(p1 : Nil, p2 : Nil) : Hash(String, JSON::Any) #

[View source]

Instance Method Detail

def apply_to : Target #

[View source]
def definition : Hash(String, JSON::Any) #

[View source]
def details_tuple #

[View source]
def match?(resource : Queue) #

[View source]
def match?(resource : Exchange) #

[View source]
def name : String #

[View source]
def pattern : Regex #

[View source]
def priority : Int8 #

[View source]
def vhost : String #

[View source]