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
Modifier and TypeMethodDescriptioncom.google.protobuf.DurationInterval between successive topology refresh requests.com.google.protobuf.DurationOrBuilderInterval between successive topology refresh requests.com.google.protobuf.DurationTimeout for topology refresh request.com.google.protobuf.DurationOrBuilderTimeout for topology refresh request.intThe number of failures that must be received before triggering a topology refresh request.intThe number of hosts became degraded or unhealthy before triggering a topology refresh request.com.google.protobuf.DurationThe minimum interval that must pass after triggering a topology refresh request before a new request can possibly be triggered again.com.google.protobuf.DurationOrBuilderThe minimum interval that must pass after triggering a topology refresh request before a new request can possibly be triggered again.com.google.protobuf.UInt32ValueThe number of redirection errors that must be received before triggering a topology refresh request.com.google.protobuf.UInt32ValueOrBuilderThe number of redirection errors that must be received before triggering a topology refresh request.booleanInterval between successive topology refresh requests.booleanTimeout for topology refresh request.booleanThe minimum interval that must pass after triggering a topology refresh request before a new request can possibly be triggered again.booleanThe number of redirection errors that must be received before triggering a topology refresh request.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.
-