Class ClientCacheDrSenderConfiguration
Data center replication sender cache configuration.
Inheritance
Namespace: GridGain.Core.DataCenterReplication
Assembly: GridGain.Core.dll
Syntax
public class ClientCacheDrSenderConfiguration : object
Constructors
ClientCacheDrSenderConfiguration()
Initializes a new instance of the ClientCacheDrSenderConfiguration class.
Declaration
public ClientCacheDrSenderConfiguration()
ClientCacheDrSenderConfiguration(ClientCacheDrSenderConfiguration)
Initializes a new instance of the ClientCacheDrSenderConfiguration class.
Declaration
public ClientCacheDrSenderConfiguration(ClientCacheDrSenderConfiguration other)
Parameters
| Type | Name | Description |
|---|---|---|
| ClientCacheDrSenderConfiguration | other | Other config to copy from. |
Properties
BatchSendFrequency
Gets or sets the batch send frequency.
Declaration
public TimeSpan BatchSendFrequency { get; set; }
Property Value
| Type | Description |
|---|---|
| TimeSpan |
LoadBalancingMode
Gets or sets the load balancing mode. When batch is ready to be sent, this parameter defines how to select the next sender hub this batch will be sent to.
Declaration
public DrSenderLoadBalancingMode LoadBalancingMode { get; set; }
Property Value
| Type | Description |
|---|---|
| DrSenderLoadBalancingMode |
MaxBackupQueueSize
Gets or sets the maximum size of the backup queue. Ignored when less than or equal to 0.
Declaration
public int MaxBackupQueueSize { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
MaxBatches
Gets or sets the maximum amount of batches awaiting for sender hub acknowledge. When amount of batches awaiting sender hub delivery acknowledge reaches this value, all further cache updates will be suspended until it is below the limit again.
Declaration
public int MaxBatches { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
PreferLocalSender
Gets or sets a value indicating whether local sender hub should be preferred, ignoring the load balancing policy.
Declaration
public bool PreferLocalSender { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
SenderGroup
Gets or sets a sender group that will be used for replication.
Declaration
public string SenderGroup { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |