User guide

216 | Scripting
AgentTransferConfiguration (namespace
Replay.Common.Contracts.Transfer)
The following table presents the available objects for the
AgentTransferConfiguration parameter.
Method Description
public uint MaxConcurrentStreams { get; set; } Gets or sets the maximum number of concurrent
TCP connections the Core establishes to the agent
for transferring data.
public uint MaxTransferQueueDepth { get; set; } When a range of blocks are read from a transfer
stream, that range is placed on a producer or
consumer queue, where a consumer thread reads
it and writes it to the epoch object. If the repository
writes slower than the network reads, this queue
fills up. The point at which the queue is full and
reads stop, is the max transfer queue depth.
public uint MaxConcurrentWrites { get; set; } Gets or sets the maximum number of block write
operations to have outstanding on an epoch at any
given time. If additional blocks are received when
this many block writes are outstanding, those
additional blocks are ignored until one of the
outstanding writes finishes.
public ulong MaxSegmentSize { get; set; } Gets or sets the maximum number of contiguous
blocks to transfer in a single request. Depending on
testing, higher or lower values may be optimal.
public Priority Priority { get; set; } Gets or sets the priority for transfer request.
public int MaxRetries { get; set; }. Gets or sets the maximum number of times a failed
transfer should be retried before it is presumed
failed.
public Guid ProviderId{ get; set; } Gets or sets the GUID of the VSS provider to use for
snapshots on this host. Administrators typically
accept the default.
public Collection<ExcludedWriter> ExcludedWriterIds
{ get; set; }
Gets or sets the collection of VSS writer IDs, which
should be excluded from this snapshot. The writer
ID is determined by the name of the writer. This
name is for documentation purposes only and
does not have to exactly match the name of the
writer.
public ushort TransferDataServerPort { get; set; } Gets or sets a value containing the TCP port upon
which to accept connections from the Core for the
actual transfer of data from the Agent to the Core.
The Agent attempts to listen on this port, but if the
port is in use, the Agent can use a different port
instead. The Core should use the port number
specified in the BlockHashesUri and BlockDataUri
properties of the VolumeSnapshotInfo object for
each snapped volume.
public TimeSpan SnapshotTimeout { get; set; } Gets or sets the amount of time to wait for a VSS
snapshot operation to complete before giving up
and timing out.