Collapse All Expand All

.NET Framework Class Library
Tibems Class See Also

[TIBCO.EMS .NET client library 5.1 documentation]

Defines the name of the ConnectionFactory property specifying the load balancing metric to be used by the factory.

Namespace: TIBCO.EMS
Assembly: TIBCO.EMS (in TIBCO.EMS.dll)

# Syntax

    public const string FACTORY_LOAD_BALANCE_METRIC

    Public Const FACTORY_LOAD_BALANCE_METRIC As String

    public:
    literal String^ FACTORY_LOAD_BALANCE_METRIC

# Remarks

This field defines the name of a provider-specific ConnectionFactory property that governs the assignment of client connections among a set of load-balanced servers.

The load balance metric can be accessed via ConnectionFactory.SetMetric property. The valid metrics are:

- FactoryLoadBalanceMetric.None: no metric
- FactoryLoadBalanceMetric.Connections: number of connections on server
- FactoryLoadBalanceMetric.ByteRate: total byte rate (input and output) on server

This property is defined as string "TIBCO.EMS.factory.metric".

# See Also

Tibems Class
TIBCO.EMS Namespace