class LavinMQ::Shovel::Runner

Included Modules

Defined in:

lavinmq/shovel/shovel.cr

Constant Summary

MAX_DELAY = 300
RETRY_THRESHOLD = 10

Constructors

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(source : AMQPSource, destination : Destination, name : String, vhost : VHost, reconnect_delay : Int32 = DEFAULT_RECONNECT_DELAY) #

[View source]

Instance Method Detail

def details_tuple #

[View source]
def exponential_reconnect_delay #

[View source]
def name : String #

[View source]
def run #

[View source]
def running? #

[View source]
def state #

[View source]
def terminate #

Does not trigger reconnect, but a graceful close


[View source]
def terminated? #

[View source]
def vhost : LavinMQ::VHost #

[View source]