Protected
connectionProtected
idProtected
Static
connectionStatic
disconnectingProtected
Static
instancesStatic
loggerProtected
Static
poolProtected
Static
taskOptional
connect?: booleanOptional
provider?: stringStatic
connectOptional
options: ProviderOptionsOptional
config: StringAnyTypeStatic
disconnectStatic
disconnectStatic
disconnectStatic
getGet comprehensive connection statistics for monitoring taskQueue pooling effectiveness
Static
getGets or creates a PostgreSQL connection based on taskQueue and database configuration. If a connection already exists for the same taskQueue + config, it will be reused. This optimization reduces connection overhead for PostgreSQL providers.
Optional
connect?: booleanOptional
provider?: stringStatic
getCheck taskQueue pooling effectiveness - returns metrics about connection reuse
Static
getStatic
isStatic
log
Abstract class for creating connections to different backend providers. All implementations should extend this class and implement the following steps:
Provider
type in ./types/provider.ts.