public SearchServiceCursorReader(
     SearchServiceUrlDiscoverer discoverer,
     SearchClient client,
     ILogger <SearchServiceCursorReader> logger)
 {
     _discoverer = discoverer;
     _client     = client;
     _logger     = logger;
 }
Exemplo n.º 2
0
 public SearchSpecificInstancesConsistencyService(
     SearchServiceUrlDiscoverer discoverer,
     SearchClient searchClient,
     ILogger <SearchSpecificInstancesConsistencyService> logger) : base(
         discoverer,
         searchClient,
         logger,
         specificInstances: true)
 {
 }
Exemplo n.º 3
0
 public SearchLoadBalancerConsistencyService(
     SearchServiceUrlDiscoverer discoverer,
     SearchClient searchClient,
     ILogger <SearchLoadBalancerConsistencyService> logger) : base(
         discoverer,
         searchClient,
         logger,
         specificInstances: false)
 {
 }
 public SearchConsistencyService(
     SearchServiceUrlDiscoverer discoverer,
     SearchClient searchClient,
     ILogger logger,
     bool specificInstances)
 {
     _discoverer        = discoverer;
     _searchClient      = searchClient;
     _logger            = logger;
     _specificInstances = specificInstances;
 }