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

Both sides previous revisionPrevious revision
Next revision
Previous revision
v5:loadbalancer:reference [2017/04/15 02:06] – [Load Balancer Reference Manual] mnewnhamv5:loadbalancer:reference [2017/04/27 01:09] (current) – [Methods] mnewnham
Line 5: Line 5:
  
 ------------------------------------ ------------------------------------
 +===== 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 |
  
-|[[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| +===== Variables ===== 
-|[[v5:reference:loadbalancer:removeconnection|removeConnection()]]|Removes a connection from the list of available servers| +| [[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           | 
-|[[v5:reference:loadbalancer:getloadbalancedconnection|getLoadBalancedConnection]]|Returns the id of an appropriate connection for a requested type| + 
-|[[v5:reference:loadbalancer:getconnection|getConnection]]|Returns the ADODB connection object by database type and ensures that its connected and the session variables are executed| +===== Methods ===== 
-|[[v5:reference:loadbalancer:setsessionvariable|setSessionVariable]]|Allow setting session variables that are maintained across connections| +| [[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:clusterexecute|clusterExecute()]]|Executes the same SQL QUERY on the entire cluster of connections| +| [[v5:reference:loadbalancer:addconnection|adodbLoadBalancer::addConnection()]]                        | Adds a new connection to the list of available servers                                                                      
-|[[v5:reference:loadbalancer:isreadonlyquery|isReadOnlyQuery()]]|Determines if a SQL query is read-only or not+| [[v5:reference:loadbalancer:removeconnection|adodbLoadBalancer::removeConnection()]]                  | Removes a connection from the list of available servers                                                                     
-|[[v5:reference:loadbalancer:execute|execute()]]|shortcut to ADOdb execute|+| [[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/loadbalancer/reference.1492214809.txt.gz · Last modified: 2017/04/21 11:29 (external edit)