ITransferJobService
using System.Collections.Generic;
namespace Relativity.Transfer
{
public interface ITransferJobService
{
IReadOnlyCollection<ITransferIssue> Issues { get; }
long JobTransferPathCount { get; }
long RequestTransferPathCount { get; }
TransferStatistics Statistics { get; }
ITransferStatistics CalculateStatistics();
TransferStatus CalculateTransferStatus();
void Clear();
void ClearTransferIssueList();
JobTransferPath GetJobTransferPath(TransferPath path);
JobTransferPath GetJobTransferPath(string path);
IReadOnlyCollection<JobTransferPath> GetJobTransferPaths();
IReadOnlyCollection<TransferPath> GetRetryableRequestTransferPaths();
TransferPath GetRequestTransferPath(string path);
IReadOnlyCollection<TransferPath> GetRequestTransferPaths();
void IncrementRetryAttempt();
bool IsCompleted(TransferPathStatus status);
bool IsRetrayable(TransferPathStatus status);
void PublishStatistics(bool force);
void RegisterIssue(ITransferIssue issue);
void RemoveRetryableTransferPaths(IEnumerable<TransferPath> paths);
void ResetRetryAttempt();
void Save(JobTransferPath path);
JobTransferPath Save(TransferPath path);
JobTransferPath Save(string path);
void SaveStatistics();
}
}