class

KemalWAF::ConnectionPoolManager

Inherits Reference / Object

Connection pool manager - singleton managing all pools

Constants

Log = ::Log.for("connection_pool_manager")

Constructors

new(config : ConnectionPoolingConfig | Nil = nil)
Source

Instance methods

cleanup_idle_pools

Idle pool'ları temizle

Source
get_pool(upstream_uri : URI, tls_context : OpenSSL::SSL::Context::Client | Nil = nil, verify_ssl : Bool = true) : ConnectionPool | Nil

Pool al veya oluştur

Source
pool_count

Pool sayısı

Source
pool_key(upstream_uri : URI, verify_ssl : Bool) : String

Pool key oluştur: scheme://host:port:verify_ssl

Source
remove_pool(key : String)

Pool'u kaldır (cleanup için)

Source
shutdown_all

Close all pools

Source
stats

Pool istatistikleri

Source