Share via


SPServiceLoadBalancer members

An abstract base class for implementations of the runtime load balancer on the Web front end. Any class that implements SPServiceLoadBalancer should provide support for load balancing across all addresses in the server farm for the service to which the class is connected.

The SPServiceLoadBalancer type exposes the following members.

Constructors

  Name Description
Public method SPServiceLoadBalancer() This constructor is called implicitly by the default constructors of derived classes. Explicit calls to this constructor do not properly initialize the object.
Protected method SPServiceLoadBalancer(Uri) Initializes a new instance of the SPServiceLoadBalancer class using a uniform resource identifier (URI).

Top

Properties

  Name Description
Protected property EndpointAddresses Enumeration of the endpoint addresses as looked up from the local configuration database.
Protected property Provisioned Gets a flag that indicates whether this load balancer has been provisioned.
Protected property Uri Gets the URI used to construct the load balancer.

Top

Methods

  Name Description
Public method BeginOperation Begins a new load balancing operation. Override to perform any initialization required before the operation starts.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnDeserialization Called whenever the current object is loaded into memory in the current process. (Overrides SPAutoSerializingObject.OnDeserialization().)
Protected method OnEndpointAddressesChanged Called whenever the endpoint addresses in the persisted store is updated to something different from the version which existed when the load balancer object was initialized.
Public method Provision Provisions the load balancer by bootstrapping the object used to store the service addresses in the local configuration database. The implementation of this method requires that the URI be a topology-service aware URI. Override this method to provide your own implementation for bootstrapping service addresses from the parent farm.
Public method ToString (Inherited from Object.)
Public method Unprovision Unprovision the load balancer by removing the local cache of service addresses from the configuration database. Override this method to provide your own implementation for bootstrapping service addresses from the parent farm.

Top

See also

Reference

SPServiceLoadBalancer class

Microsoft.SharePoint namespace