Class PartySyncRetryJob
- Namespace
- Integrations.Application.Parties
- Assembly
- Integrations.Application.dll
Sends customer/vendor records that are still pending (provider outage, or PartySync just enabled).
public sealed class PartySyncRetryJob : IScheduledJob
- Inheritance
-
PartySyncRetryJob
- Implements
- Inherited Members
Constructors
PartySyncRetryJob(PartyService)
Sends customer/vendor records that are still pending (provider outage, or PartySync just enabled).
public PartySyncRetryJob(PartyService parties)
Parameters
partiesPartyService
Properties
Interval
Time between runs.
public TimeSpan Interval { get; }
Property Value
Name
Unique job name, used in logs, metrics and the advisory lock.
public string Name { get; }
Property Value
Methods
RunAsync(CancellationToken)
Runs once. Only one replica runs a job at a time.
public Task RunAsync(CancellationToken cancellationToken)
Parameters
cancellationTokenCancellationToken