class
   LavinMQ::OperatorPolicy
 
  - LavinMQ::OperatorPolicy
 - LavinMQ::Policy
 - Reference
 - Object
 
Defined in:
lavinmq/policy.crConstant Summary
- 
        ALLOWED_ARGUMENTS = 
["expires", "message-ttl", "max-length", "max-length-bytes"] 
Constructors
- .new(name : String, vhost : String, pattern : Regex, apply_to : Target, definition : Hash(String, JSON::Any), priority : Int8)
 - .new(pull : JSON::PullParser)
 
Instance methods inherited from class LavinMQ::Policy
  
  
    
      apply_to : Target
    apply_to, 
    
  
    
      definition : Hash(String, JSON::Any)
    definition, 
    
  
    
      details_tuple
    details_tuple, 
    
  
    
      match?(resource : Queue)match?(resource : Exchange) match?, name : String name, pattern : Regex pattern, priority : Int8 priority, vhost : String vhost
Constructor methods inherited from class LavinMQ::Policy
  
  
    
      new(name : String, vhost : String, pattern : Regex, apply_to : Target, definition : Hash(String, JSON::Any), priority : Int8)new(pull : JSON::PullParser) new
Class methods inherited from class LavinMQ::Policy
  
  
    
      merge_definitions(p1 : Policy, p2 : Policy) : Hash(String, JSON::Any)merge_definitions(p1 : Nil, p2 : Policy) : Hash(String, JSON::Any)
merge_definitions(p1 : Policy, p2 : Nil) : Hash(String, JSON::Any)
merge_definitions(p1 : Nil, p2 : Nil) : Hash(String, JSON::Any) merge_definitions
Instance methods inherited from module LavinMQ::SortableJSON
  
  
    
      details_tuple
    details_tuple, 
    
  
    
      search_match?(value : String)search_match?(value : Regex) search_match?, to_json(json : JSON::Builder) to_json