Class RedisHighAvailabilityManager
Class used to manage an extractor using a Redis database.
Implements
Inherited Members
Namespace: Cognite.Extractor.Utils
Assembly: ExtractorUtils.dll
Syntax
public class RedisHighAvailabilityManager : HighAvailabilityManager, IHighAvailabilityManager
Constructors
| Edit this page View SourceRedisHighAvailabilityManager(HighAvailabilityConfig, ILogger<HighAvailabilityManager>, PeriodicScheduler, CancellationTokenSource, TimeSpan?, TimeSpan?)
Constructor.
Declaration
public RedisHighAvailabilityManager(HighAvailabilityConfig config, ILogger<HighAvailabilityManager> logger, PeriodicScheduler scheduler, CancellationTokenSource source, TimeSpan? interval = null, TimeSpan? inactivityThreshold = null)
Parameters
Type | Name | Description |
---|---|---|
HighAvailabilityConfig | config | Configuration object. |
ILogger<HighAvailabilityManager> | logger | Logger. |
PeriodicScheduler | scheduler | Scheduler. |
CancellationTokenSource | source | CancellationToken source. |
TimeSpan? | interval | Optional update state interval. |
TimeSpan? | inactivityThreshold | Optional threshold for extractor being inactive. |