net.resp.pool

pool

added in 3.0

(pool {:keys [id path tag initial], :as m})

creates the connection pool

pool:apply

added in 3.0

(pool:apply pool f args)

applys a function to connection arguments

pool:close

(pool:close remote)

pool:health

(pool:health remote)

pool:info

(pool:info remote level)

pool:kill

(pool:kill remote)

pool:process-bulk

(pool:process-bulk _ data opts)

pool:process-single

(pool:process-single _ data opts)

pool:read

(pool:read remote)

pool:request-bulk

(pool:request-bulk remote command)(pool:request-bulk remote commands opts)

pool:request-single

(pool:request-single remote command)(pool:request-single remote command opts)

pool:start

(pool:start remote)

pool:started?

(pool:started? remote)

pool:stop

(pool:stop remote)

pool:stopped?

(pool:stopped? remote)

pool:write

(pool:write remote command)

wrap-connection

added in 3.0

(wrap-connection f)

wraps a function taking pool resource

((wrap-connection (fn connection (h/string (conn/connection:request-single connection “PING”)))) {:pool |pool|})

wrap-pool

added in 3.0

(wrap-pool f)(wrap-pool f self)(wrap-pool f self assoc?)

wraps a function taking pool