ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:reference:loadbalancer:adodbloadbalancerconnection

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:reference:loadbalancer:adodbloadbalancerconnection [2017/04/25 03:12] mnewnhamv5:reference:loadbalancer:adodbloadbalancerconnection [2017/04/27 01:07] (current) – [Other Parameters] mnewnham
Line 21: Line 21:
 The class ''ADOdbLoadBalancerConnection'' is the replacement for [[v5:reference:connection:adonewconnection|adoNewConnecton()]] and creates a template ADOdb connection that can be retrieved and added to the connection pool. The class ''ADOdbLoadBalancerConnection'' is the replacement for [[v5:reference:connection:adonewconnection|adoNewConnecton()]] and creates a template ADOdb connection that can be retrieved and added to the connection pool.
  
-Note that a connection is not established at this point, that only happens when an ADOdb command such as //**execute**// is issued, or a Load Balancer internal command such as [[v5:reference:loadbalancer:clusterexecute|clusterExecute()]] is issued. This means that a connection number is consumed even if the connection parameters are invalid. Care should be taken when using commands such as [[v5:reference:loadbalancer:removeconnection|removeConection()]] that rely on a connection number.+Note that a connection is not established when the class is instantiated, it is delayed until an ADOdb command such as //**execute**// is issued, or a Load Balancer internal command such as [[v5:reference:loadbalancer:clusterexecute|clusterExecute()]] is issued. This means that a connection number is consumed even if the connection parameters are invalid. Care should be taken when using commands such as [[v5:reference:loadbalancer:removeconnection|removeConnection()]] that rely on a connection number.
  
 ------------------------ ------------------------
Line 35: Line 35:
 This parameter forces the ADOdb connection to be made with a [[v5:reference:connection:pconnect|persistant]] connection. This parameter forces the ADOdb connection to be made with a [[v5:reference:connection:pconnect|persistant]] connection.
 ==== Other Parameters ==== ==== Other Parameters ====
-The other parameters are defind the same as the equivalent connection parameters in ADOdb .+The other parameters are defined the same as the equivalent connection parameters in ADOdb . For more information, see the [[v5:reference:connection:connect|connect()]] command
 --------------------------- ---------------------------
 ===== Usage ==== ===== Usage ====
v5/reference/loadbalancer/adodbloadbalancerconnection.txt · Last modified: 2017/04/27 01:07 by mnewnham