DBIx::Class::Storage::DBI::Replicated::Balancer::First - Just get the First Balancer


NAME

DBIx::Class::Storage::DBI::Replicated::Balancer::First - Just get the First Balancer


SYNOPSIS

This class is used internally by the DBIx::Class::Storage::DBI::Replicated manpage. You shouldn't need to create instances of this class.


=head1 DESCRIPTION

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 get's whatever is the first replicant in the pool


ATTRIBUTES

This class defines the following attributes.


METHODS

This class defines the following methods.

next_storage

Just get the first storage. Probably only good when you have one replicant.


AUTHOR

John Napiorkowski <john.napiorkowski@takkle.com>


LICENSE

You may distribute this code under the same terms as Perl itself.

 DBIx::Class::Storage::DBI::Replicated::Balancer::First - Just get the First Balancer