Copyright © 2013-2014 Alexei Krasnopolski
Version: Apr 17 2026 10:56:12
Introduced in: 2013-02-20
Authors: Alexei Krasnopolski (krasnop@bellsouth.net) [web site: http://krasnopolski.org/].
| activate/2 | Some action during activation of a resource before moving the resource from pool to client (not implemented for default module). |
| create/1 | Creates new resource. |
| destroy/2 | Destroyes a resource. |
| passivate/2 | Some action during passivation of a resource after returning the resource from use to pool (not implemented for default module). |
| validate/2 | Validate resource: if resource is alive and valid then returns true, otherwise - false. |
activate(_Resource_metadata::term(), _Resource::term()) -> ok
Some action during activation of a resource before moving the resource from pool to client (not implemented for default module).
create(_Resource_metadata::term()) -> {ok, Resource}
Creates new resource.
destroy(_Resource_metadata::term(), _Resource::term()) -> noreturn()
Destroyes a resource.
passivate(_Resource_metadata::term(), _Resource::term()) -> ok
Some action during passivation of a resource after returning the resource from use to pool (not implemented for default module).
validate(_Resource_metadata::term(), _Resource::term()) -> boolean()
Validate resource: if resource is alive and valid then returns true, otherwise - false.
Generated by EDoc