Skip to main content

SessionPoolModel

Model for a SessionPool object.

Index

Properties

max_pool_size

max_pool_size: int

model_config

model_config: Undefined

retired_session_count

retired_session_count: int

Get the number of sessions that are no longer usable.

session_count

session_count: int

Get the total number of sessions currently maintained in the pool.

sessions

sessions: dict[str, Session]

usable_session_count

usable_session_count: int

Get the number of sessions that are currently usable.