ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:loadbalancer:reference

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
v5:loadbalancer:reference [2017/04/15 01:55] – created mnewnhamv5:loadbalancer:reference [2017/04/27 01:09] (current) – [Methods] mnewnham
Line 4: Line 4:
 ====== Load Balancer Reference Manual ======  ====== Load Balancer Reference Manual ====== 
  
 +------------------------------------
 +===== Classess =====
 +| [[v5:reference:loadbalancer:adodbloadbalancer|adodbLoadBalancer]]  | The parent class for Load Balancer |
 +| [[v5:reference:loadbalancer:adodbloadbalancerconnection|adodbLoadBalancerConnection]] | Associates an ADOdb connection with the Load Balancer |
 +
 +
 +===== Variables =====
 +| [[v5:reference:loadbalancer:enable_sticky_sessionsl|adodbLoadBalancer::$enable_sticky_sessions]]                  | Defines whether commands executed in the current session should be pinned to a specific connection           |
 +
 +===== Methods =====
 +| [[v5:reference:loadbalancer:setsessioninitsql|adodbLoadBalancer::setSessionInitSql]]                  | Defines an SQL statement that will always be initialized whenever a load balancer connection is established                  |
 +| [[v5:reference:loadbalancer:addconnection|adodbLoadBalancer::addConnection()]]                        | Adds a new connection to the list of available servers                                                                      |
 +| [[v5:reference:loadbalancer:removeconnection|adodbLoadBalancer::removeConnection()]]                  | Removes a connection from the list of available servers                                                                     |
 +| [[v5:reference:loadbalancer:getloadbalancedconnection|adodbLoadBalancer::getLoadBalancedConnection]]  | Returns the id of an appropriate connection for a requested type                                                            |
 +| [[v5:reference:loadbalancer:getconnection|adodbLoadBalancer::getConnection]]                          | Returns the ADODB connection object by database type and ensures that it is connected and the session variables are executed  |
 +| [[v5:reference:loadbalancer:setsessionvariable|adodbLoadBalancer::setSessionVariable]]                | Allow setting session variables that are maintained across connections                                                      |
 +| [[v5:reference:loadbalancer:clusterexecute|adodbLoadBalancer::clusterExecute()]]                      | Executes the same SQL QUERY on the entire cluster of connections                                                            |
 +| [[v5:reference:loadbalancer:isreadonlyquery|adodbLoadBalancer::isReadOnlyQuery()]]                    | Determines if a SQL query is read-only or not                                                                               |
  
-|[[v5:reference:loadbalancer:setblacklistfunctions|setBlackListFunctions()]]|Defines a list of ADOdb functions that cannot be executed on the primary server| 
-|[[v5:reference:loadbalancer:setsessioninitsql|setSessionInitSql]]|Defines an SQL statement that will always be initialized whenever a lod balancer connection is made| 
-|[[v5:reference:loadbalancer:addconnection|addConnection()]]|Adds a new connection to the list of available servers| 
-|[[v5:reference:loadbalancer:removeconnection|removeConnect()]]|Removes a connection from the list of available servers| 
-|[[v5:reference:loadbalancer:getconnectionbyweight|getConnectionByWeight()]]|Returns a value indicating the importance of a server| 
-|[[v5:reference:loadbalancer:getloadbalancedconnection|getLoadBalancedConnection]]|Returns the id of an appropriate connection for a requested type| 
v5/loadbalancer/reference.1492214136.txt.gz · Last modified: 2017/04/21 11:29 (external edit)