Class DrReceiverConfiguration
Data center replication receiver hub configuration.
Inheritance
Namespace: GridGain.Core.DataCenterReplication
Assembly: GridGain.Core.dll
Syntax
public class DrReceiverConfiguration : object
Constructors
DrReceiverConfiguration()
Initializes a new instance of the DrReceiverConfiguration class.
Declaration
public DrReceiverConfiguration()
Fields
DefaultDirectBuffer
Default value of direct buffer allocation.
Declaration
public const bool DefaultDirectBuffer = null
Field Value
| Type | Description |
|---|---|
| System.Boolean |
DefaultFlushFrequency
Default flush frequency DR data loader.
Declaration
public static readonly TimeSpan DefaultFlushFrequency
Field Value
| Type | Description |
|---|---|
| TimeSpan |
DefaultIdleTimeout
Default server socket idle timeout.
Declaration
public static readonly TimeSpan DefaultIdleTimeout
Field Value
| Type | Description |
|---|---|
| TimeSpan |
DefaultLocalInboundPort
Default server port.
Declaration
public const int DefaultLocalInboundPort = null
Field Value
| Type | Description |
|---|---|
| System.Int32 |
DefaultParallelLoadOperations
Default per node parallel operations for DR data loader.
Declaration
public const int DefaultParallelLoadOperations = null
Field Value
| Type | Description |
|---|---|
| System.Int32 |
DefaultPerNodeBufferSize
Default per node buffer buffer size for DR data loader.
Declaration
public const int DefaultPerNodeBufferSize = null
Field Value
| Type | Description |
|---|---|
| System.Int32 |
DefaultSelectorCount
Default quantity of NIO threads responsible for sender hub connections processing.
Declaration
public static readonly int DefaultSelectorCount
Field Value
| Type | Description |
|---|---|
| System.Int32 |
DefaultTcpNodelay
Default TCP_NODELAY flag value for server sockets.
Declaration
public const bool DefaultTcpNodelay = null
Field Value
| Type | Description |
|---|---|
| System.Boolean |
DefaultWorkerThreadCount
Default number of threads responsible for sender hub requests processing.
Declaration
public static readonly int DefaultWorkerThreadCount
Field Value
| Type | Description |
|---|---|
| System.Int32 |
DefaultWriteTimeout
Default server socket write timeout.
Declaration
public static readonly TimeSpan DefaultWriteTimeout
Field Value
| Type | Description |
|---|---|
| TimeSpan |
Properties
DirectBuffer
Gets or sets a value indicating whether direct buffer flag should be used in receiver TCP server.
Declaration
public bool DirectBuffer { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
FlushFrequency
Gets or sets the flush frequency. Defines how often receiver hub flushes batches received from sender hubs to receiver caches.
Declaration
public TimeSpan FlushFrequency { get; set; }
Property Value
| Type | Description |
|---|---|
| TimeSpan |
IdleTimeout
Gets or sets the connection idle timeout.
Declaration
public TimeSpan IdleTimeout { get; set; }
Property Value
| Type | Description |
|---|---|
| TimeSpan |
LocalInboundHost
Gets or sets local host name that receiver hub TCP server is bound to.
If not set, Localhost will be used.
Declaration
public string LocalInboundHost { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
LocalInboundPort
Gets or sets local port that receiver hub TCP server is bound to.
Declaration
public int LocalInboundPort { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
ParallelLoadOperations
Gets or sets the number of parallel load operations. Defines how many data flush operations can be performed on a single receiver cache data node simultaneously.
Declaration
public int ParallelLoadOperations { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
PerNodeBufferSize
Gets or sets the size of the per node buffer. When amount of cache entries enqueued for particular receiver cache data node exceeds this limit, pending data will be flushed to that data node.
Declaration
public int PerNodeBufferSize { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
SelectorCount
Gets or sets the amount of selector threads in receiver hub's TCP server.
Declaration
public int SelectorCount { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
TcpNodelay
Gets or sets a value indicating whether TCP_NODELAY flag should be used in receiver TCP server.
Declaration
public bool TcpNodelay { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
WorkerThreadCount
Gets or sets the count of threads responsible for sender hub batches processing.
Declaration
public int WorkerThreadCount { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
WriteTimeout
Gets or sets the connection write timeout.
Declaration
public TimeSpan WriteTimeout { get; set; }
Property Value
| Type | Description |
|---|---|
| TimeSpan |