public RedisSplitCache(IRedisAdapter redisAdapter, ISplitParser splitParser, string userPrefix = null) : base(redisAdapter, userPrefix) { _splitParser = splitParser; }
public Evaluator(ISplitCache splitCache, ISplitParser splitParser, ISplitter splitter = null, ISplitLogger log = null) { _splitCache = splitCache; _splitParser = splitParser; _splitter = splitter ?? new Splitter(); _log = log ?? WrapperAdapter.GetLogger(typeof(Evaluator)); }
public SelfRefreshingSplitFetcher(ISplitChangeFetcher splitChangeFetcher, ISplitParser splitParser, IReadinessGatesCache gates, int interval, ISplitCache splitCache = null) { _cancelTokenSource = new CancellationTokenSource(); _splitChangeFetcher = splitChangeFetcher; _splitParser = splitParser; _gates = gates; _interval = interval; _splitCache = splitCache; }
public SelfRefreshingSplitFetcher(ISplitChangeFetcher splitChangeFetcher, ISplitParser splitParser, IStatusManager statusManager, int interval, ITasksManager taskManager, ISplitCache splitCache = null) { _splitChangeFetcher = splitChangeFetcher; _splitParser = splitParser; _statusManager = statusManager; _interval = interval; _splitCache = splitCache; _taskManager = taskManager; }