Class DriftClientConfig

java.lang.Object
io.airlift.drift.transport.client.DriftClientConfig

public class DriftClientConfig extends Object
  • Constructor Details

    • DriftClientConfig

      public DriftClientConfig()
  • Method Details

    • getMaxRetries

      @Min(0L) public @javax.validation.constraints.Min(0L) int getMaxRetries()
    • setMaxRetries

      @Config("thrift.client.max-retries") public DriftClientConfig setMaxRetries(int maxRetries)
    • getMinBackoffDelay

      @MinDuration("1ms") @NotNull public @NotNull io.airlift.units.Duration getMinBackoffDelay()
    • setMinBackoffDelay

      @Config("thrift.client.min-backoff-delay") public DriftClientConfig setMinBackoffDelay(io.airlift.units.Duration minBackoffDelay)
    • getMaxBackoffDelay

      @MinDuration("1s") @NotNull public @NotNull io.airlift.units.Duration getMaxBackoffDelay()
    • setMaxBackoffDelay

      @Config("thrift.client.max-backoff-delay") public DriftClientConfig setMaxBackoffDelay(io.airlift.units.Duration maxBackoffDelay)
    • getBackoffScaleFactor

      public double getBackoffScaleFactor()
    • setBackoffScaleFactor

      @Config("thrift.client.backoff-scale-factor") public DriftClientConfig setBackoffScaleFactor(double backoffScaleFactor)
    • getMaxRetryTime

      @MinDuration("1ms") @NotNull public @NotNull io.airlift.units.Duration getMaxRetryTime()
    • setMaxRetryTime

      @Config("thrift.client.max-retry-time") public DriftClientConfig setMaxRetryTime(io.airlift.units.Duration maxRetryTime)
    • isStatsEnabled

      public boolean isStatsEnabled()
    • setStatsEnabled

      @Config("thrift.client.stats.enabled") public DriftClientConfig setStatsEnabled(boolean statsEnabled)