Backend Pool

The BackendPool is the component which locates and instantiates your backend classes. In orther to use it you should subclass it and set a backend_type. (see the example)

BackendPool class

get

Returns returns an instance of the backend which has the given backend_id

arguments

backend_id - The id of the backend you are looking for

all

Returns a list of instances of all backends configured with the pool's backend type

get_class

Returns returns the class of the backend which has the given backend_id

arguments

backend_id - The id of the backend you are looking for

all_classes

Returns a list of class of all backends configured with the pool's backend type

iterator

Returns an iterator of instances of all backends configured with the pool's backend type

classes_iterator

Returns an interator of class of all backends configured with the pool's backend type