Class ClientConfig<K,V,T extends org.apache.avro.specific.SpecificRecord>

java.lang.Object
com.linkedin.venice.fastclient.ClientConfig<K,V,T>

public class ClientConfig<K,V,T extends org.apache.avro.specific.SpecificRecord> extends Object
  • Method Details

    • getStoreName

      public String getStoreName()
    • getR2Client

      public com.linkedin.r2.transport.common.Client getR2Client()
    • getMetricsRepository

      public io.tehuti.metrics.MetricsRepository getMetricsRepository()
    • getStats

      public FastClientStats getStats(RequestType requestType)
    • isSpeculativeQueryEnabled

      public boolean isSpeculativeQueryEnabled()
    • getSpecificValueClass

      public Class<T> getSpecificValueClass()
    • getDeserializationExecutor

      public Executor getDeserializationExecutor()
    • isDualReadEnabled

      public boolean isDualReadEnabled()
    • getGenericThinClient

      public AvroGenericStoreClient<K,V> getGenericThinClient()
    • getSpecificThinClient

      public AvroSpecificStoreClient<K,T> getSpecificThinClient()
    • getRoutingLeakedRequestCleanupThresholdMS

      public long getRoutingLeakedRequestCleanupThresholdMS()
    • getRoutingQuotaExceededRequestCounterResetDelayMS

      public long getRoutingQuotaExceededRequestCounterResetDelayMS()
    • getRoutingErrorRequestCounterResetDelayMS

      public long getRoutingErrorRequestCounterResetDelayMS()
    • getRoutingUnavailableRequestCounterResetDelayMS

      public long getRoutingUnavailableRequestCounterResetDelayMS()
    • getRoutingPendingRequestCounterInstanceBlockThreshold

      public int getRoutingPendingRequestCounterInstanceBlockThreshold()
    • getDaVinciClientForMetaStore

      public DaVinciClient<StoreMetaKey,StoreMetaValue> getDaVinciClientForMetaStore()
    • isMetadataConnWarmupEnabled

      public boolean isMetadataConnWarmupEnabled()
    • getMetadataRefreshIntervalInSeconds

      public long getMetadataRefreshIntervalInSeconds()
    • getMetadataConnWarmupTimeoutInSeconds

      public long getMetadataConnWarmupTimeoutInSeconds()
    • isLongTailRetryEnabledForSingleGet

      public boolean isLongTailRetryEnabledForSingleGet()
    • getLongTailRetryThresholdForSingleGetInMicroSeconds

      public int getLongTailRetryThresholdForSingleGetInMicroSeconds()
    • isLongTailRetryEnabledForBatchGet

      public boolean isLongTailRetryEnabledForBatchGet()
    • getLongTailRetryThresholdForBatchGetInMicroSeconds

      public int getLongTailRetryThresholdForBatchGetInMicroSeconds()
    • isLongTailRetryEnabledForCompute

      public boolean isLongTailRetryEnabledForCompute()
    • getLongTailRetryThresholdForComputeInMicroSeconds

      public int getLongTailRetryThresholdForComputeInMicroSeconds()
    • isVsonStore

      @Deprecated public boolean isVsonStore()
      Deprecated.
    • getClientRoutingStrategyType

      public ClientRoutingStrategyType getClientRoutingStrategyType()
    • getClusterStats

      public ClusterStats getClusterStats()
    • getStoreMetadataFetchMode

      public StoreMetadataFetchMode getStoreMetadataFetchMode()
    • getD2Client

      public com.linkedin.d2.balancer.D2Client getD2Client()
    • getClusterDiscoveryD2Service

      public String getClusterDiscoveryD2Service()
    • useGrpc

      public boolean useGrpc()
    • getGrpcClientConfig

      public GrpcClientConfig getGrpcClientConfig()
    • isProjectionFieldValidationEnabled

      public boolean isProjectionFieldValidationEnabled()
    • getLongTailRetryBudgetEnforcementWindowInMs

      public long getLongTailRetryBudgetEnforcementWindowInMs()
    • getHarClusters

      public Set<String> getHarClusters()
    • setProjectionFieldValidationEnabled

      public ClientConfig setProjectionFieldValidationEnabled(boolean projectionFieldValidation)