LoadBalancingManager Class

Summary

Provides a high level utility for managing transfers to and from Amazon S3. It makes extensive use of Amazon S3 multipart uploads to achieve enhanced throughput, performance, and reliability. When uploading large files by specifying file paths instead of a stream, TransferUtility uses multiple threads to upload multiple parts of a single upload at once. When dealing with large content sizes and high bandwidth, this can increase throughput significantly.
graph BT Type-->Base0["Object"] Type-.->Interface0["ILoadBalancingManager"] click Interface0 "/api/Cake.AWS.ElasticLoadBalancing/ILoadBalancingManager" Type["LoadBalancingManager"] class Type type-node

Syntax

public class LoadBalancingManager : ILoadBalancingManager

Constructors

Name Summary
LoadBalancingManager(ICakeEnvironment, ICakeLog) Initializes a new instance of the LoadBalancingManager class.

Methods

Name Value Summary
DeregisterInstances(string, IList<string>, LoadBalancingSettings, CancellationToken) Task<bool>
Removes instances from the load balancer. Once the instance is deregistered, it will stop receiving traffic from the load balancer.
DisableAvailabilityZones(string, IList<string>, LoadBalancingSettings, CancellationToken) Task<bool>
Removes the specified Availability Zones from the set of Availability Zones for the specified load balancer. There must be at least one Availability Zone registered with a load balancer at all times. After an Availability Zone is removed, all instances registered with the load balancer that are in the removed Availability Zone go into the OutOfService state. Then, the load balancer attempts to equally balance the traffic among its remaining Availability Zones.
EnableAvailabilityZones(string, IList<string>, LoadBalancingSettings, CancellationToken) Task<bool>
Adds the specified Availability Zones to the set of Availability Zones for the specified load balancer. The load balancer evenly distributes requests across all its registered Availability Zones that contain instances.
RegisterInstances(string, IList<string>, LoadBalancingSettings, CancellationToken) Task<bool>
Adds new instances to the load balancer. Once the instance is registered, it starts receiving traffic and requests from the load balancer. Any instance that is not in any of the Availability Zones registered for the load balancer will be moved to the OutOfService state. It will move to the InService state when the Availability Zone is added to the load balancer.

Extension Methods

Name Value Summary
Dump<LoadBalancingManager>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<LoadBalancingManager>(LoadBalancingManager[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<LoadBalancingManager>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<LoadBalancingManager>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<LoadBalancingManager>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<LoadBalancingManager>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin