Interface RedisClusterConfigOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    RedisClusterConfig, RedisClusterConfig.Builder

    public interface RedisClusterConfigOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      com.google.protobuf.Duration getClusterRefreshRate()
      Interval between successive topology refresh requests.
      com.google.protobuf.DurationOrBuilder getClusterRefreshRateOrBuilder()
      Interval between successive topology refresh requests.
      com.google.protobuf.Duration getClusterRefreshTimeout()
      Timeout for topology refresh request.
      com.google.protobuf.DurationOrBuilder getClusterRefreshTimeoutOrBuilder()
      Timeout for topology refresh request.
      int getFailureRefreshThreshold()
      The number of failures that must be received before triggering a topology refresh request.
      int getHostDegradedRefreshThreshold()
      The number of hosts became degraded or unhealthy before triggering a topology refresh request.
      com.google.protobuf.Duration getRedirectRefreshInterval()
      The minimum interval that must pass after triggering a topology refresh request before a new request can possibly be triggered again.
      com.google.protobuf.DurationOrBuilder getRedirectRefreshIntervalOrBuilder()
      The minimum interval that must pass after triggering a topology refresh request before a new request can possibly be triggered again.
      com.google.protobuf.UInt32Value getRedirectRefreshThreshold()
      The number of redirection errors that must be received before triggering a topology refresh request.
      com.google.protobuf.UInt32ValueOrBuilder getRedirectRefreshThresholdOrBuilder()
      The number of redirection errors that must be received before triggering a topology refresh request.
      boolean hasClusterRefreshRate()
      Interval between successive topology refresh requests.
      boolean hasClusterRefreshTimeout()
      Timeout for topology refresh request.
      boolean hasRedirectRefreshInterval()
      The minimum interval that must pass after triggering a topology refresh request before a new request can possibly be triggered again.
      boolean hasRedirectRefreshThreshold()
      The number of redirection errors that must be received before triggering a topology refresh request.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • hasClusterRefreshRate

        boolean hasClusterRefreshRate()
         Interval between successive topology refresh requests. If not set, this defaults to 5s.
         
        .google.protobuf.Duration cluster_refresh_rate = 1 [(.validate.rules) = { ... }
        Returns:
        Whether the clusterRefreshRate field is set.
      • getClusterRefreshRate

        com.google.protobuf.Duration getClusterRefreshRate()
         Interval between successive topology refresh requests. If not set, this defaults to 5s.
         
        .google.protobuf.Duration cluster_refresh_rate = 1 [(.validate.rules) = { ... }
        Returns:
        The clusterRefreshRate.
      • getClusterRefreshRateOrBuilder

        com.google.protobuf.DurationOrBuilder getClusterRefreshRateOrBuilder()
         Interval between successive topology refresh requests. If not set, this defaults to 5s.
         
        .google.protobuf.Duration cluster_refresh_rate = 1 [(.validate.rules) = { ... }
      • hasClusterRefreshTimeout

        boolean hasClusterRefreshTimeout()
         Timeout for topology refresh request. If not set, this defaults to 3s.
         
        .google.protobuf.Duration cluster_refresh_timeout = 2 [(.validate.rules) = { ... }
        Returns:
        Whether the clusterRefreshTimeout field is set.
      • getClusterRefreshTimeout

        com.google.protobuf.Duration getClusterRefreshTimeout()
         Timeout for topology refresh request. If not set, this defaults to 3s.
         
        .google.protobuf.Duration cluster_refresh_timeout = 2 [(.validate.rules) = { ... }
        Returns:
        The clusterRefreshTimeout.
      • getClusterRefreshTimeoutOrBuilder

        com.google.protobuf.DurationOrBuilder getClusterRefreshTimeoutOrBuilder()
         Timeout for topology refresh request. If not set, this defaults to 3s.
         
        .google.protobuf.Duration cluster_refresh_timeout = 2 [(.validate.rules) = { ... }
      • hasRedirectRefreshInterval

        boolean hasRedirectRefreshInterval()
         The minimum interval that must pass after triggering a topology refresh request before a new
         request can possibly be triggered again. Any errors received during one of these
         time intervals are ignored. If not set, this defaults to 5s.
         
        .google.protobuf.Duration redirect_refresh_interval = 3;
        Returns:
        Whether the redirectRefreshInterval field is set.
      • getRedirectRefreshInterval

        com.google.protobuf.Duration getRedirectRefreshInterval()
         The minimum interval that must pass after triggering a topology refresh request before a new
         request can possibly be triggered again. Any errors received during one of these
         time intervals are ignored. If not set, this defaults to 5s.
         
        .google.protobuf.Duration redirect_refresh_interval = 3;
        Returns:
        The redirectRefreshInterval.
      • getRedirectRefreshIntervalOrBuilder

        com.google.protobuf.DurationOrBuilder getRedirectRefreshIntervalOrBuilder()
         The minimum interval that must pass after triggering a topology refresh request before a new
         request can possibly be triggered again. Any errors received during one of these
         time intervals are ignored. If not set, this defaults to 5s.
         
        .google.protobuf.Duration redirect_refresh_interval = 3;
      • hasRedirectRefreshThreshold

        boolean hasRedirectRefreshThreshold()
         The number of redirection errors that must be received before
         triggering a topology refresh request. If not set, this defaults to 5.
         If this is set to 0, topology refresh after redirect is disabled.
         
        .google.protobuf.UInt32Value redirect_refresh_threshold = 4;
        Returns:
        Whether the redirectRefreshThreshold field is set.
      • getRedirectRefreshThreshold

        com.google.protobuf.UInt32Value getRedirectRefreshThreshold()
         The number of redirection errors that must be received before
         triggering a topology refresh request. If not set, this defaults to 5.
         If this is set to 0, topology refresh after redirect is disabled.
         
        .google.protobuf.UInt32Value redirect_refresh_threshold = 4;
        Returns:
        The redirectRefreshThreshold.
      • getRedirectRefreshThresholdOrBuilder

        com.google.protobuf.UInt32ValueOrBuilder getRedirectRefreshThresholdOrBuilder()
         The number of redirection errors that must be received before
         triggering a topology refresh request. If not set, this defaults to 5.
         If this is set to 0, topology refresh after redirect is disabled.
         
        .google.protobuf.UInt32Value redirect_refresh_threshold = 4;
      • getFailureRefreshThreshold

        int getFailureRefreshThreshold()
         The number of failures that must be received before triggering a topology refresh request.
         If not set, this defaults to 0, which disables the topology refresh due to failure.
         
        uint32 failure_refresh_threshold = 5;
        Returns:
        The failureRefreshThreshold.
      • getHostDegradedRefreshThreshold

        int getHostDegradedRefreshThreshold()
         The number of hosts became degraded or unhealthy before triggering a topology refresh request.
         If not set, this defaults to 0, which disables the topology refresh due to degraded or
         unhealthy host.
         
        uint32 host_degraded_refresh_threshold = 6;
        Returns:
        The hostDegradedRefreshThreshold.