Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 8 Connection Factory : tibemsConnectionFactory : tibemsConnectionFactory_SetMetric

tibemsConnectionFactory_SetMetric
Function
Purpose
Modify the load balancing metric.
C Declaration
tibems_status tibemsConnectionFactory_SetMetric(
    tibemsConnectionFactory factory,
    tibemsFactoryLoadBalanceMetric metric );
COBOL Call
CALL "tibemsConnectionFactory_SetMetric"
USING BY VALUE factory,
BY VALUE metric,
RETURNING tibems-status
END-CALL.
 
factory has usage pointer.
Parameters
 
Remarks
When the 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. For values, see tibemsFactoryLoadBalanceMetric on page 289.

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved