public static final class CircuitBreakers.Thresholds extends com.google.protobuf.GeneratedMessageV3 implements CircuitBreakers.ThresholdsOrBuilder
A Thresholds defines CircuitBreaker settings for a :ref:`RoutingPriority<envoy_api_enum_config.core.v3.RoutingPriority>`. [#next-free-field: 9]Protobuf type
envoy.config.cluster.v3.CircuitBreakers.Thresholds| Modifier and Type | Class and Description |
|---|---|
static class |
CircuitBreakers.Thresholds.Builder
A Thresholds defines CircuitBreaker settings for a
:ref:`RoutingPriority<envoy_api_enum_config.core.v3.RoutingPriority>`.
|
static class |
CircuitBreakers.Thresholds.RetryBudget
Protobuf type
envoy.config.cluster.v3.CircuitBreakers.Thresholds.RetryBudget |
static interface |
CircuitBreakers.Thresholds.RetryBudgetOrBuilder |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_CONNECTION_POOLS_FIELD_NUMBER |
static int |
MAX_CONNECTIONS_FIELD_NUMBER |
static int |
MAX_PENDING_REQUESTS_FIELD_NUMBER |
static int |
MAX_REQUESTS_FIELD_NUMBER |
static int |
MAX_RETRIES_FIELD_NUMBER |
static int |
PRIORITY_FIELD_NUMBER |
static int |
RETRY_BUDGET_FIELD_NUMBER |
static int |
TRACK_REMAINING_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static CircuitBreakers.Thresholds |
getDefaultInstance() |
CircuitBreakers.Thresholds |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.UInt32Value |
getMaxConnectionPools()
The maximum number of connection pools per cluster that Envoy will concurrently support at
once.
|
com.google.protobuf.UInt32ValueOrBuilder |
getMaxConnectionPoolsOrBuilder()
The maximum number of connection pools per cluster that Envoy will concurrently support at
once.
|
com.google.protobuf.UInt32Value |
getMaxConnections()
The maximum number of connections that Envoy will make to the upstream
cluster.
|
com.google.protobuf.UInt32ValueOrBuilder |
getMaxConnectionsOrBuilder()
The maximum number of connections that Envoy will make to the upstream
cluster.
|
com.google.protobuf.UInt32Value |
getMaxPendingRequests()
The maximum number of pending requests that Envoy will allow to the
upstream cluster.
|
com.google.protobuf.UInt32ValueOrBuilder |
getMaxPendingRequestsOrBuilder()
The maximum number of pending requests that Envoy will allow to the
upstream cluster.
|
com.google.protobuf.UInt32Value |
getMaxRequests()
The maximum number of parallel requests that Envoy will make to the
upstream cluster.
|
com.google.protobuf.UInt32ValueOrBuilder |
getMaxRequestsOrBuilder()
The maximum number of parallel requests that Envoy will make to the
upstream cluster.
|
com.google.protobuf.UInt32Value |
getMaxRetries()
The maximum number of parallel retries that Envoy will allow to the
upstream cluster.
|
com.google.protobuf.UInt32ValueOrBuilder |
getMaxRetriesOrBuilder()
The maximum number of parallel retries that Envoy will allow to the
upstream cluster.
|
com.google.protobuf.Parser<CircuitBreakers.Thresholds> |
getParserForType() |
RoutingPriority |
getPriority()
The :ref:`RoutingPriority<envoy_api_enum_config.core.v3.RoutingPriority>`
the specified CircuitBreaker settings apply to.
|
int |
getPriorityValue()
The :ref:`RoutingPriority<envoy_api_enum_config.core.v3.RoutingPriority>`
the specified CircuitBreaker settings apply to.
|
CircuitBreakers.Thresholds.RetryBudget |
getRetryBudget()
Specifies a limit on concurrent retries in relation to the number of active requests.
|
CircuitBreakers.Thresholds.RetryBudgetOrBuilder |
getRetryBudgetOrBuilder()
Specifies a limit on concurrent retries in relation to the number of active requests.
|
int |
getSerializedSize() |
boolean |
getTrackRemaining()
If track_remaining is true, then stats will be published that expose
the number of resources remaining until the circuit breakers open.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasMaxConnectionPools()
The maximum number of connection pools per cluster that Envoy will concurrently support at
once.
|
boolean |
hasMaxConnections()
The maximum number of connections that Envoy will make to the upstream
cluster.
|
boolean |
hasMaxPendingRequests()
The maximum number of pending requests that Envoy will allow to the
upstream cluster.
|
boolean |
hasMaxRequests()
The maximum number of parallel requests that Envoy will make to the
upstream cluster.
|
boolean |
hasMaxRetries()
The maximum number of parallel retries that Envoy will allow to the
upstream cluster.
|
boolean |
hasRetryBudget()
Specifies a limit on concurrent retries in relation to the number of active requests.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static CircuitBreakers.Thresholds.Builder |
newBuilder() |
static CircuitBreakers.Thresholds.Builder |
newBuilder(CircuitBreakers.Thresholds prototype) |
CircuitBreakers.Thresholds.Builder |
newBuilderForType() |
protected CircuitBreakers.Thresholds.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static CircuitBreakers.Thresholds |
parseDelimitedFrom(InputStream input) |
static CircuitBreakers.Thresholds |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CircuitBreakers.Thresholds |
parseFrom(byte[] data) |
static CircuitBreakers.Thresholds |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CircuitBreakers.Thresholds |
parseFrom(ByteBuffer data) |
static CircuitBreakers.Thresholds |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CircuitBreakers.Thresholds |
parseFrom(com.google.protobuf.ByteString data) |
static CircuitBreakers.Thresholds |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CircuitBreakers.Thresholds |
parseFrom(com.google.protobuf.CodedInputStream input) |
static CircuitBreakers.Thresholds |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CircuitBreakers.Thresholds |
parseFrom(InputStream input) |
static CircuitBreakers.Thresholds |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<CircuitBreakers.Thresholds> |
parser() |
CircuitBreakers.Thresholds.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int PRIORITY_FIELD_NUMBER
public static final int MAX_CONNECTIONS_FIELD_NUMBER
public static final int MAX_PENDING_REQUESTS_FIELD_NUMBER
public static final int MAX_REQUESTS_FIELD_NUMBER
public static final int MAX_RETRIES_FIELD_NUMBER
public static final int RETRY_BUDGET_FIELD_NUMBER
public static final int TRACK_REMAINING_FIELD_NUMBER
public static final int MAX_CONNECTION_POOLS_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public int getPriorityValue()
The :ref:`RoutingPriority<envoy_api_enum_config.core.v3.RoutingPriority>` the specified CircuitBreaker settings apply to.
.envoy.config.core.v3.RoutingPriority priority = 1 [(.validate.rules) = { ... }getPriorityValue in interface CircuitBreakers.ThresholdsOrBuilderpublic RoutingPriority getPriority()
The :ref:`RoutingPriority<envoy_api_enum_config.core.v3.RoutingPriority>` the specified CircuitBreaker settings apply to.
.envoy.config.core.v3.RoutingPriority priority = 1 [(.validate.rules) = { ... }getPriority in interface CircuitBreakers.ThresholdsOrBuilderpublic boolean hasMaxConnections()
The maximum number of connections that Envoy will make to the upstream cluster. If not specified, the default is 1024.
.google.protobuf.UInt32Value max_connections = 2;hasMaxConnections in interface CircuitBreakers.ThresholdsOrBuilderpublic com.google.protobuf.UInt32Value getMaxConnections()
The maximum number of connections that Envoy will make to the upstream cluster. If not specified, the default is 1024.
.google.protobuf.UInt32Value max_connections = 2;getMaxConnections in interface CircuitBreakers.ThresholdsOrBuilderpublic com.google.protobuf.UInt32ValueOrBuilder getMaxConnectionsOrBuilder()
The maximum number of connections that Envoy will make to the upstream cluster. If not specified, the default is 1024.
.google.protobuf.UInt32Value max_connections = 2;getMaxConnectionsOrBuilder in interface CircuitBreakers.ThresholdsOrBuilderpublic boolean hasMaxPendingRequests()
The maximum number of pending requests that Envoy will allow to the upstream cluster. If not specified, the default is 1024.
.google.protobuf.UInt32Value max_pending_requests = 3;hasMaxPendingRequests in interface CircuitBreakers.ThresholdsOrBuilderpublic com.google.protobuf.UInt32Value getMaxPendingRequests()
The maximum number of pending requests that Envoy will allow to the upstream cluster. If not specified, the default is 1024.
.google.protobuf.UInt32Value max_pending_requests = 3;getMaxPendingRequests in interface CircuitBreakers.ThresholdsOrBuilderpublic com.google.protobuf.UInt32ValueOrBuilder getMaxPendingRequestsOrBuilder()
The maximum number of pending requests that Envoy will allow to the upstream cluster. If not specified, the default is 1024.
.google.protobuf.UInt32Value max_pending_requests = 3;getMaxPendingRequestsOrBuilder in interface CircuitBreakers.ThresholdsOrBuilderpublic boolean hasMaxRequests()
The maximum number of parallel requests that Envoy will make to the upstream cluster. If not specified, the default is 1024.
.google.protobuf.UInt32Value max_requests = 4;hasMaxRequests in interface CircuitBreakers.ThresholdsOrBuilderpublic com.google.protobuf.UInt32Value getMaxRequests()
The maximum number of parallel requests that Envoy will make to the upstream cluster. If not specified, the default is 1024.
.google.protobuf.UInt32Value max_requests = 4;getMaxRequests in interface CircuitBreakers.ThresholdsOrBuilderpublic com.google.protobuf.UInt32ValueOrBuilder getMaxRequestsOrBuilder()
The maximum number of parallel requests that Envoy will make to the upstream cluster. If not specified, the default is 1024.
.google.protobuf.UInt32Value max_requests = 4;getMaxRequestsOrBuilder in interface CircuitBreakers.ThresholdsOrBuilderpublic boolean hasMaxRetries()
The maximum number of parallel retries that Envoy will allow to the upstream cluster. If not specified, the default is 3.
.google.protobuf.UInt32Value max_retries = 5;hasMaxRetries in interface CircuitBreakers.ThresholdsOrBuilderpublic com.google.protobuf.UInt32Value getMaxRetries()
The maximum number of parallel retries that Envoy will allow to the upstream cluster. If not specified, the default is 3.
.google.protobuf.UInt32Value max_retries = 5;getMaxRetries in interface CircuitBreakers.ThresholdsOrBuilderpublic com.google.protobuf.UInt32ValueOrBuilder getMaxRetriesOrBuilder()
The maximum number of parallel retries that Envoy will allow to the upstream cluster. If not specified, the default is 3.
.google.protobuf.UInt32Value max_retries = 5;getMaxRetriesOrBuilder in interface CircuitBreakers.ThresholdsOrBuilderpublic boolean hasRetryBudget()
Specifies a limit on concurrent retries in relation to the number of active requests. This
parameter is optional.
.. note::
If this field is set, the retry budget will override any configured retry circuit
breaker.
.envoy.config.cluster.v3.CircuitBreakers.Thresholds.RetryBudget retry_budget = 8;hasRetryBudget in interface CircuitBreakers.ThresholdsOrBuilderpublic CircuitBreakers.Thresholds.RetryBudget getRetryBudget()
Specifies a limit on concurrent retries in relation to the number of active requests. This
parameter is optional.
.. note::
If this field is set, the retry budget will override any configured retry circuit
breaker.
.envoy.config.cluster.v3.CircuitBreakers.Thresholds.RetryBudget retry_budget = 8;getRetryBudget in interface CircuitBreakers.ThresholdsOrBuilderpublic CircuitBreakers.Thresholds.RetryBudgetOrBuilder getRetryBudgetOrBuilder()
Specifies a limit on concurrent retries in relation to the number of active requests. This
parameter is optional.
.. note::
If this field is set, the retry budget will override any configured retry circuit
breaker.
.envoy.config.cluster.v3.CircuitBreakers.Thresholds.RetryBudget retry_budget = 8;getRetryBudgetOrBuilder in interface CircuitBreakers.ThresholdsOrBuilderpublic boolean getTrackRemaining()
If track_remaining is true, then stats will be published that expose
the number of resources remaining until the circuit breakers open. If
not specified, the default is false.
.. note::
If a retry budget is used in lieu of the max_retries circuit breaker,
the remaining retry resources remaining will not be tracked.
bool track_remaining = 6;getTrackRemaining in interface CircuitBreakers.ThresholdsOrBuilderpublic boolean hasMaxConnectionPools()
The maximum number of connection pools per cluster that Envoy will concurrently support at once. If not specified, the default is unlimited. Set this for clusters which create a large number of connection pools. See :ref:`Circuit Breaking <arch_overview_circuit_break_cluster_maximum_connection_pools>` for more details.
.google.protobuf.UInt32Value max_connection_pools = 7;hasMaxConnectionPools in interface CircuitBreakers.ThresholdsOrBuilderpublic com.google.protobuf.UInt32Value getMaxConnectionPools()
The maximum number of connection pools per cluster that Envoy will concurrently support at once. If not specified, the default is unlimited. Set this for clusters which create a large number of connection pools. See :ref:`Circuit Breaking <arch_overview_circuit_break_cluster_maximum_connection_pools>` for more details.
.google.protobuf.UInt32Value max_connection_pools = 7;getMaxConnectionPools in interface CircuitBreakers.ThresholdsOrBuilderpublic com.google.protobuf.UInt32ValueOrBuilder getMaxConnectionPoolsOrBuilder()
The maximum number of connection pools per cluster that Envoy will concurrently support at once. If not specified, the default is unlimited. Set this for clusters which create a large number of connection pools. See :ref:`Circuit Breaking <arch_overview_circuit_break_cluster_maximum_connection_pools>` for more details.
.google.protobuf.UInt32Value max_connection_pools = 7;getMaxConnectionPoolsOrBuilder in interface CircuitBreakers.ThresholdsOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static CircuitBreakers.Thresholds parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CircuitBreakers.Thresholds parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CircuitBreakers.Thresholds parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CircuitBreakers.Thresholds parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CircuitBreakers.Thresholds parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CircuitBreakers.Thresholds parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CircuitBreakers.Thresholds parseFrom(InputStream input) throws IOException
IOExceptionpublic static CircuitBreakers.Thresholds parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static CircuitBreakers.Thresholds parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static CircuitBreakers.Thresholds parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static CircuitBreakers.Thresholds parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static CircuitBreakers.Thresholds parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic CircuitBreakers.Thresholds.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static CircuitBreakers.Thresholds.Builder newBuilder()
public static CircuitBreakers.Thresholds.Builder newBuilder(CircuitBreakers.Thresholds prototype)
public CircuitBreakers.Thresholds.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected CircuitBreakers.Thresholds.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static CircuitBreakers.Thresholds getDefaultInstance()
public static com.google.protobuf.Parser<CircuitBreakers.Thresholds> parser()
public com.google.protobuf.Parser<CircuitBreakers.Thresholds> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public CircuitBreakers.Thresholds getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018–2021 The Envoy Project. All rights reserved.