Class CachingDaVinciClientFactory

  • All Implemented Interfaces:
    DaVinciClientFactory, java.io.Closeable, java.lang.AutoCloseable

    public class CachingDaVinciClientFactory
    extends java.lang.Object
    implements DaVinciClientFactory, java.io.Closeable
    • Field Detail

      • closed

        protected boolean closed
      • d2Client

        protected final com.linkedin.d2.balancer.D2Client d2Client
      • metricsRepository

        protected final io.tehuti.metrics.MetricsRepository metricsRepository
      • managedClients

        protected final java.util.Optional<java.util.Set<java.lang.String>> managedClients
      • icProvider

        protected final ICProvider icProvider
      • sharedClients

        protected final java.util.Map<java.lang.String,​DaVinciClient> sharedClients
      • isolatedClients

        protected final java.util.List<DaVinciClient> isolatedClients
      • configs

        protected final java.util.Map<java.lang.String,​DaVinciConfig> configs
    • Constructor Detail

      • CachingDaVinciClientFactory

        @Deprecated
        public CachingDaVinciClientFactory​(com.linkedin.d2.balancer.D2Client d2Client,
                                           io.tehuti.metrics.MetricsRepository metricsRepository,
                                           VeniceProperties backendConfig)
        Deprecated.
      • CachingDaVinciClientFactory

        @Deprecated
        public CachingDaVinciClientFactory​(com.linkedin.d2.balancer.D2Client d2Client,
                                           io.tehuti.metrics.MetricsRepository metricsRepository,
                                           VeniceProperties backendConfig,
                                           java.util.Optional<java.util.Set<java.lang.String>> managedClients)
        Deprecated.
      • CachingDaVinciClientFactory

        @Deprecated
        public CachingDaVinciClientFactory​(com.linkedin.d2.balancer.D2Client d2Client,
                                           io.tehuti.metrics.MetricsRepository metricsRepository,
                                           VeniceProperties backendConfig,
                                           java.util.Optional<java.util.Set<java.lang.String>> managedClients,
                                           ICProvider icProvider)
        Deprecated.
      • CachingDaVinciClientFactory

        public CachingDaVinciClientFactory​(com.linkedin.d2.balancer.D2Client d2Client,
                                           java.lang.String clusterDiscoveryD2ServiceName,
                                           io.tehuti.metrics.MetricsRepository metricsRepository,
                                           VeniceProperties backendConfig)
      • CachingDaVinciClientFactory

        public CachingDaVinciClientFactory​(com.linkedin.d2.balancer.D2Client d2Client,
                                           java.lang.String clusterDiscoveryD2ServiceName,
                                           io.tehuti.metrics.MetricsRepository metricsRepository,
                                           VeniceProperties backendConfig,
                                           java.util.Optional<java.util.Set<java.lang.String>> managedClients)
      • CachingDaVinciClientFactory

        public CachingDaVinciClientFactory​(com.linkedin.d2.balancer.D2Client d2Client,
                                           java.lang.String clusterDiscoveryD2ServiceName,
                                           io.tehuti.metrics.MetricsRepository metricsRepository,
                                           VeniceProperties backendConfig,
                                           java.util.Optional<java.util.Set<java.lang.String>> managedClients,
                                           ICProvider icProvider)
      • CachingDaVinciClientFactory

        public CachingDaVinciClientFactory​(com.linkedin.d2.balancer.D2Client d2Client,
                                           java.lang.String clusterDiscoveryD2ServiceName,
                                           io.tehuti.metrics.MetricsRepository metricsRepository,
                                           VeniceProperties backendConfig,
                                           java.util.Optional<java.util.Set<java.lang.String>> managedClients,
                                           ICProvider icProvider,
                                           java.util.concurrent.Executor readChunkExecutorForLargeRequest)