Connection Factory : tibemsFactoryLoadBalanceMetric

tibemsFactoryLoadBalanceMetric
Type
Purpose
Define enumerated load balancing constants.
Remarks
When a connection factory balances the client load among several servers, it uses this metric to determine the least loaded server, so the connection factory can create a connection to it.
 
The connection factory balances the connection load among several servers by creating a connection to the server with the fewest number of connections.
The connection factory balances the connection load among several servers by creating a connection to the server with the lowest total byte rate (input and output).
COBOL
* NOTE: LBM is an acronym for LOAD-BALANCE-METRIC
01 TIBEMS-FACTORY-LBM-TYPES.
05 tibemsFactoryLoadBalanceMetric PIC S9(8) BINARY.
88 TIBEMS-FACTORY-LBM-NONE VALUE 0.
88 TIBEMS-FACTORY-LBM-CONNECTIONS VALUE 1.
88 TIBEMS-FACTORY-LBM-BYTE-RATE VALUE 2.
See Also
tibemsConnectionFactory on page 254
tibemsConnectionFactory_SetMetric on page 270