public static interface RedisProxy.PrefixRoutes.Route.RequestMirrorPolicyOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getCluster()
Specifies the cluster that requests will be mirrored to.
|
com.google.protobuf.ByteString |
getClusterBytes()
Specifies the cluster that requests will be mirrored to.
|
boolean |
getExcludeReadCommands()
Set this to TRUE to only mirror write commands, this is effectively replicating the
writes in a "fire and forget" manner.
|
RuntimeFractionalPercent |
getRuntimeFraction()
If not specified or the runtime key is not present, all requests to the target cluster
will be mirrored.
|
RuntimeFractionalPercentOrBuilder |
getRuntimeFractionOrBuilder()
If not specified or the runtime key is not present, all requests to the target cluster
will be mirrored.
|
boolean |
hasRuntimeFraction()
If not specified or the runtime key is not present, all requests to the target cluster
will be mirrored.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getCluster()
Specifies the cluster that requests will be mirrored to. The cluster must exist in the cluster manager configuration.
string cluster = 1 [(.validate.rules) = { ... }com.google.protobuf.ByteString getClusterBytes()
Specifies the cluster that requests will be mirrored to. The cluster must exist in the cluster manager configuration.
string cluster = 1 [(.validate.rules) = { ... }boolean hasRuntimeFraction()
If not specified or the runtime key is not present, all requests to the target cluster will be mirrored. If specified, Envoy will lookup the runtime key to get the percentage of requests to the mirror.
.envoy.config.core.v3.RuntimeFractionalPercent runtime_fraction = 2;RuntimeFractionalPercent getRuntimeFraction()
If not specified or the runtime key is not present, all requests to the target cluster will be mirrored. If specified, Envoy will lookup the runtime key to get the percentage of requests to the mirror.
.envoy.config.core.v3.RuntimeFractionalPercent runtime_fraction = 2;RuntimeFractionalPercentOrBuilder getRuntimeFractionOrBuilder()
If not specified or the runtime key is not present, all requests to the target cluster will be mirrored. If specified, Envoy will lookup the runtime key to get the percentage of requests to the mirror.
.envoy.config.core.v3.RuntimeFractionalPercent runtime_fraction = 2;boolean getExcludeReadCommands()
Set this to TRUE to only mirror write commands, this is effectively replicating the writes in a "fire and forget" manner.
bool exclude_read_commands = 3;Copyright © 2018–2021 The Envoy Project. All rights reserved.