logo
Free, Micro AI Code Reviews That Run on Git Commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt

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

Attributes

       This class defines the following attributes.

Description

       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.

Further Questions?

       Check the list of additional DBIC resources.

Methods

       This class defines the following methods.

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

Name

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

Synopsis

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

See Also