<PackageReference Include="Relativity.Transfer.SDK" Version="4.2.2" />

Relativity.Transfer.SDK.Interfaces.ProgressReporting.TransferJobStatistics

Transfer statistics
public double AverageTransferRateMbps { get; }

Average transfer rate [Mbps]. It represents an averaged transfer speed of current invocation. It *does not* take into account other potential transfer invocations that may had been executed under same transfer (where same means identical GUID, source and destination).

public Guid CorrelationId { get; }

The correlation identifier.

public long CurrentBytesTransferred { get; }

Amount of currently successfully transferred bytes (until Timestamp).

public long CurrentItemsFailed { get; }

Number of failed items currently (until Timestamp).

public long CurrentItemsSkipped { get; }

Number of skipped items currently (until Timestamp).

public long CurrentItemsTransferred { get; }

Number of successfully transferred items currently (until Timestamp).

public double CurrentTransferRateMbps { get; }

Current transfer rate [Mbps]. Calculated as Weighted Moving Average (WMA) based on transferred bytes in specific time window.

public TimeSpan Elapsed { get; }

Gets the timespan between start of the transfer until the moment of event associated with this element.

public TimeSpan? EstimatedTime { get; }

Estimated remaining time to finish the transfer.

public ITransferJobState JobState { get; }

Current state of transfer job

public DateTime Timestamp { get; }

Timestamp of the update generated in UTC.

public long? TotalBytes { get; }

The total number of bytes to be transferred.

public long? TotalItems { get; }

The total number of items to be transferred.

public TransferJobStatistics(Guid correlationId, DateTime timestamp, TimeSpan elapsed, long currentBytesTransferred, long currentItemsTransferred, long currentItemsFailed, long currentItemsSkipped, double currentTransferRateMbps, double averageTransferRateMbps, long? totalBytes = default, long? totalItems = default, TimeSpan? estimatedTime = default, ITransferJobState jobState = null)

Initializes a new instance of the TransferJobStatistics class.

public bool Equals(TransferJobStatistics other)