DBIx::Class::Storage::DBI::Replicated::Balancer::First - Just get the First Balancer
This class is used internally by DBIx::Class::Storage::DBI::Replicated. You shouldn't need to create instances of this class.
Given a pool (DBIx::Class::Storage::DBI::Replicated::Pool) of replicated database's (DBIx::Class::Storage::DBI::Replicated::Replicant), 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.
John Napiorkowski <john.napiorkowski@takkle.com>
You may distribute this code under the same terms as Perl itself.
To install DBIx::Class, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DBIx::Class
CPAN shell
perl -MCPAN -e shell install DBIx::Class
For more information on module installation, please visit the detailed CPAN module installation guide.