class LavinMQ::Shovel::Runner
- LavinMQ::Shovel::Runner
- Reference
- Object
Included Modules
Defined in:
lavinmq/shovel/shovel.crConstant Summary
-
MAX_DELAY =
300
-
RETRY_THRESHOLD =
10
Constructors
Instance Method Summary
- #details_tuple
- #exponential_reconnect_delay
- #name : String
- #run
- #running?
- #state
-
#terminate
Does not trigger reconnect, but a graceful close
- #terminated?
- #vhost : LavinMQ::VHost
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 : Time::Span = DEFAULT_RECONNECT_DELAY)
#