Query: dbix::class::storage::dbi::replicated::balancer::first
OS: osx
Section: 3
Links: osx man pages all man pages
Forums: forum home forum categories
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
DBIx::Class::Storage::DBI::Replicated::Balancer::First(3User Contributed Perl DocumentatiDBIx::Class::Storage::DBI::Replicated::Balancer::First(3)NAMEDBIx::Class::Storage::DBI::Replicated::Balancer::First - Just get the First BalancerSYNOPSISThis class is used internally by DBIx::Class::Storage::DBI::Replicated. You shouldn't need to create instances of this class.DESCRIPTIONGiven 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.ATTRIBUTESThis class defines the following attributes.METHODSThis class defines the following methods. next_storage Just get the first storage. Probably only good when you have one replicant.AUTHORJohn Napiorkowski <john.napiorkowski@takkle.com>LICENSEYou may distribute this code under the same terms as Perl itself. perl v5.16.2 2011-05-23 DBIx::Class::Storage::DBI::Replicated::Balancer::First(3)