[TIBCO.EMS.UFOCLIENT .NET client library 7.0 documentation]

Get or set the load balancing metric used by the connection factory

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

Syntax

public FactoryLoadBalanceMetric Metric { get; set; }
Public Property Metric As FactoryLoadBalanceMetric
public:
property FactoryLoadBalanceMetric Metric {
	FactoryLoadBalanceMetric get ();
	void set (FactoryLoadBalanceMetric value);
}

Remarks

Valid metrics are:
  • FactoryLoadBalanceMetric.None: not load balanced
  • FactoryLoadBalanceMetric.Connections: number of connections on server
  • FactoryLoadBalanceMetric.ByteRate: total byte rate (input and output) on server
If the factory is not a load balancing factory then the value returned will be FactoryLoadBalanceMetric.None. If the factory is a load balancing factory but no metric has been set explicitly then the metric returned will be the default metric (FactoryLoadBalanceMetric.Connections) will be returned.

Exceptions

ExceptionCondition
EMSExceptionIf the value of metric to set is invalid

See Also