DBIx::Class::Storage::DBI::Replicated::Balancer::First - Just get the First Balancer
This class is used internally by the DBIx::Class::Storage::DBI::Replicated manpage. You
shouldn't need to create instances of this class.
Given a pool (the DBIx::Class::Storage::DBI::Replicated::Pool manpage) of replicated
database's (the DBIx::Class::Storage::DBI::Replicated::Replicant manpage), defines a
method by which query load can be spread out across each replicant in the pool.
This Balancer just gets whichever is the first replicant in the pool.
This class defines the following attributes.
This class defines the following methods.
Just get the first storage. Probably only good when you have one replicant.
Check the list of additional DBIC resources.
This module is free software copyright
by the DBIx::Class (DBIC) authors. You can
redistribute it and/or modify it under the same terms as the
DBIx::Class library.
|