Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
amqproxy
v0.5.4
AMQProxy
Client
Error
NegotiationError
ReadError
WriteError
Pool
Server
TokenBucket
Upstream
AccessError
Error
WriteError
Built with Crystal 1.9.2
2023-10-08 09:24:27 UTC
class
AMQProxy::Pool
AMQProxy::Pool
Reference
Object
Defined in:
amqproxy/pool.cr
Constructors
.new
(host : String, port : Int32, tls : Bool, log : Logger)
Instance Method Summary
#borrow
(user : String, password : String, vhost : String, &block : Upstream -> _)
#close
#size
: Int32
Constructor Detail
def self.
new
(host : String, port : Int32, tls : Bool, log : Logger)
#
[
View source
]
Instance Method Detail
def
borrow
(user : String, password : String, vhost : String, &block :
Upstream
-> _)
#
[
View source
]
def
close
#
[
View source
]
def
size
: Int32
#
[
View source
]