DBIx::Class::Storage::DBI::Replicated::Balancer::First(3pm)

DBIx::Class::Storage::DBI::Replicated::Balancer::First3pm

Just get the first balancer

Usage

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

Overview

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.

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.

Further questions?

Check the list of additional DBIC resources.

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 6 times.

  1. 6.0
  2. 7
  3. 8
  4. 9
  5. 10–11
  6. 12
  7. 13

From libdbix-class-perl 0.082844-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.