Export (0) Print
Expand All

SPRoundRobinServiceLoadBalancer class

This class provides a round-robin load-balancer algorithm across all instances of a service application to which it is connected.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public sealed class SPRoundRobinServiceLoadBalancer : SPServiceLoadBalancer

Addresses for the service application are cached in the local configuration database. This class maintains an in-memory cache of that local configuration database, and returns the next "good" address from that list. When an operation fails using an address, the address is marked as "failed" for a configurable period of time and taken out of rotation.

There exists one instance of this class per service application per process.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft