Search Results for

    Show / Hide Table of Contents

    Class DrSenderConnectionConfiguration

    Data center replication sender hub connection configuration.

    Inheritance
    System.Object
    DrSenderConnectionConfiguration
    Namespace: GridGain.Core.DataCenterReplication
    Assembly: GridGain.Core.dll
    Syntax
    public class DrSenderConnectionConfiguration : object

    Constructors

    DrSenderConnectionConfiguration()

    Initializes a new instance of the DrSenderConnectionConfiguration class.

    Declaration
    public DrSenderConnectionConfiguration()

    Fields

    DefaultAwaitAcknowledge

    Default await acknowledge flag.

    Declaration
    public const bool DefaultAwaitAcknowledge = null
    Field Value
    Type Description
    System.Boolean

    DefaultLoadBalancingMode

    Default receiver hub load balancing policy.

    Declaration
    public const DrReceiverLoadBalancingMode DefaultLoadBalancingMode = default(DrReceiverLoadBalancingMode)
    Field Value
    Type Description
    DrReceiverLoadBalancingMode

    Properties

    AwaitAcknowledge

    Gets or sets the await acknowledge flag. When set to true sender hub will await acknowledge for each replication batch sent to a receiver hub thus ensuring that data is stored in remote topology. If set to false, sender hub will not wait for that acknowledge. This will increase throughput at a cost of reliability.

    Declaration
    public bool AwaitAcknowledge { get; set; }
    Property Value
    Type Description
    System.Boolean

    Await acknowledge flag.

    DataCenterId

    Gets or sets ID of remote data center.

    Declaration
    public byte DataCenterId { get; set; }
    Property Value
    Type Description
    System.Byte

    ID of remote data center.

    IgnoredDataCenterIds

    Gets or sets IDs of data centers updates from which will not be replicated to this remote data center. Use this parameter to avoid cycles in replication. For example, if you have setup your replication in a way that A replicates to B, B replicates to C, and C replicates back to A, then on C you should specify that updates from A should be ignored to avoid a cycle.

    Declaration
    public ICollection<byte> IgnoredDataCenterIds { get; set; }
    Property Value
    Type Description
    ICollection<System.Byte>

    Ignored data center IDs.

    LoadBalancingMode

    Gets or sets remote receiver hub load balancing policy. This policy provides balancing mechanism in case remote data center has several receiver hubs.

    Declaration
    public DrReceiverLoadBalancingMode LoadBalancingMode { get; set; }
    Property Value
    Type Description
    DrReceiverLoadBalancingMode

    Remote receiver hub load balancing policy.

    LocalOutboundAddress

    Gets or sets local outbound address.

    By default is set to null meaning that sender hub will be bound to the same interface as the grid itself and random port will be used. "hostname" - will use provided hostname and random port. "hostname:port" - will use provided hostname and port. "hostname:port_from..port_to" - will used provided host and port range.

    Declaration
    public string LocalOutboundAddress { get; set; }
    Property Value
    Type Description
    System.String

    Local outbound address.

    ReceiverAddresses

    Gets or sets addresses of remote receiver hubs.

    Declaration
    public ICollection<string> ReceiverAddresses { get; set; }
    Property Value
    Type Description
    ICollection<System.String>

    Addresses of remote receiver hubs.

    In This Article
    Back to top © 2022 GridGain Systems, Inc. and Contributors