Page Contents
pooling package
Classes
| Class | Description |
|---|---|
|
A singleton service to maintain a pool of resources. This pool service can be bound to different keys to represent multiple pools. Each binding is a singleton so that the state stays the same for injections into multiple instances for other artifacts. |
Functions
| Function | Description |
|---|---|
|
Create a function to return a pooled binding factory | |
|
Acquire a resource from the pooling service or pool |
Interfaces
| Interface | Description |
|---|---|
|
Life cycle methods that a poolable resource can optionally implement so that they can be triggered by the pooling service | |
|
Pooled resource instance | |
|
Factory for the pooling service | |
|
Options to configure a resource pool |