This class provides a round-robin load-balancer algorithm across all instances of a service application to which it is connected.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
'Declaration Public NotInheritable Class SPRoundRobinServiceLoadBalancer _ Inherits SPServiceLoadBalancer 'Usage Dim instance As SPRoundRobinServiceLoadBalancer
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.