Resource pool v1.0.3 ResourceFactory behaviour View Source
The module defines a behaviour of resource factory.
Link to this section Summary
Callbacks
Some action during activation of a resource before moving the resource from pool to client.
Creates new resource.
Destroyes a resource.
Some action during passivation of a resource after returning the resource from use to pool.
Validate resource: if resource is alive and valid then returns true, otherwise - false.
Link to this section Callbacks
Specs
Some action during activation of a resource before moving the resource from pool to client.
Specs
Creates new resource.
Specs
Destroyes a resource.
Specs
Some action during passivation of a resource after returning the resource from use to pool.
Specs
Validate resource: if resource is alive and valid then returns true, otherwise - false.