public HttpProxyDecoratorBase( HttpProxyRepository repo, TaxonomyTree tree, StateService stateService, ILog log) { _repo = repo; _tree = tree; _stateService = stateService; _log = log; StoringDuration = TimeSpan.FromHours(3); //default storing duration 3 hours //one day RootDescriminatorStateTriggers = tree.GetOrCreatePath(STATE_TRIGGER_PATH, "Trigger to flush all Browsing cache"); }
public ParallelHttpProxyDecorator(HttpProxyRepository repo, TaxonomyTree tree, StateService stateService, ILog log) : base(repo, tree, stateService, log) { proxySwitcher = new ParallelHttpProxyBrowsing(this); }
public HttpProxyDecorator(HttpProxyRepository repo, TaxonomyTree tree, StateService stateService, ILog log) : base(repo, tree, stateService, log) { Attempts = 0; }