public static final class CircuitBreakerProto.RecoverConfig extends com.google.protobuf.GeneratedMessageV3 implements CircuitBreakerProto.RecoverConfigOrBuilder
熔断恢复配置Protobuf type
v1.RecoverConfig| 限定符和类型 | 类和说明 |
|---|---|
static class |
CircuitBreakerProto.RecoverConfig.Builder
熔断恢复配置
Protobuf type
v1.RecoverConfig |
static class |
CircuitBreakerProto.RecoverConfig.OutlierDetectWhen
主动探测配置
Protobuf enum
v1.RecoverConfig.OutlierDetectWhen |
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| 限定符和类型 | 字段和说明 |
|---|---|
static int |
MAXRETRYAFTERHALFOPEN_FIELD_NUMBER |
static int |
OUTLIERDETECTWHEN_FIELD_NUMBER |
static int |
REQUESTCOUNTAFTERHALFOPEN_FIELD_NUMBER |
static int |
REQUESTRATEAFTERHALFOPEN_FIELD_NUMBER |
static int |
SLEEPWINDOW_FIELD_NUMBER |
static int |
SUCCESSRATETOCLOSE_FIELD_NUMBER |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object obj) |
static CircuitBreakerProto.RecoverConfig |
getDefaultInstance() |
CircuitBreakerProto.RecoverConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.UInt32Value |
getMaxRetryAfterHalfOpen()
半开后,最多重试多少次恢复
.google.protobuf.UInt32Value maxRetryAfterHalfOpen = 2; |
com.google.protobuf.UInt32ValueOrBuilder |
getMaxRetryAfterHalfOpenOrBuilder()
半开后,最多重试多少次恢复
.google.protobuf.UInt32Value maxRetryAfterHalfOpen = 2; |
CircuitBreakerProto.RecoverConfig.OutlierDetectWhen |
getOutlierDetectWhen()
.v1.RecoverConfig.OutlierDetectWhen outlierDetectWhen = 6; |
int |
getOutlierDetectWhenValue()
.v1.RecoverConfig.OutlierDetectWhen outlierDetectWhen = 6; |
com.google.protobuf.Parser<CircuitBreakerProto.RecoverConfig> |
getParserForType() |
com.google.protobuf.UInt32Value |
getRequestCountAfterHalfOpen()
半开后最大放量数(用户不配置最大百分比时默认使用该配置)
.google.protobuf.UInt32Value requestCountAfterHalfOpen = 5; |
com.google.protobuf.UInt32ValueOrBuilder |
getRequestCountAfterHalfOpenOrBuilder()
半开后最大放量数(用户不配置最大百分比时默认使用该配置)
.google.protobuf.UInt32Value requestCountAfterHalfOpen = 5; |
com.google.protobuf.UInt32Value |
getRequestRateAfterHalfOpen(int index)
半开后放量的最大百分比
repeated .google.protobuf.UInt32Value requestRateAfterHalfOpen = 3; |
int |
getRequestRateAfterHalfOpenCount()
半开后放量的最大百分比
repeated .google.protobuf.UInt32Value requestRateAfterHalfOpen = 3; |
List<com.google.protobuf.UInt32Value> |
getRequestRateAfterHalfOpenList()
半开后放量的最大百分比
repeated .google.protobuf.UInt32Value requestRateAfterHalfOpen = 3; |
com.google.protobuf.UInt32ValueOrBuilder |
getRequestRateAfterHalfOpenOrBuilder(int index)
半开后放量的最大百分比
repeated .google.protobuf.UInt32Value requestRateAfterHalfOpen = 3; |
List<? extends com.google.protobuf.UInt32ValueOrBuilder> |
getRequestRateAfterHalfOpenOrBuilderList()
半开后放量的最大百分比
repeated .google.protobuf.UInt32Value requestRateAfterHalfOpen = 3; |
int |
getSerializedSize() |
com.google.protobuf.Duration |
getSleepWindow()
触发熔断后到半开状态之间的等待间隔
.google.protobuf.Duration sleepWindow = 1; |
com.google.protobuf.DurationOrBuilder |
getSleepWindowOrBuilder()
触发熔断后到半开状态之间的等待间隔
.google.protobuf.Duration sleepWindow = 1; |
com.google.protobuf.UInt32Value |
getSuccessRateToClose()
熔断器半开到关闭所必须的最少成功率,默认100%
.google.protobuf.UInt32Value successRateToClose = 4; |
com.google.protobuf.UInt32ValueOrBuilder |
getSuccessRateToCloseOrBuilder()
熔断器半开到关闭所必须的最少成功率,默认100%
.google.protobuf.UInt32Value successRateToClose = 4; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasMaxRetryAfterHalfOpen()
半开后,最多重试多少次恢复
.google.protobuf.UInt32Value maxRetryAfterHalfOpen = 2; |
boolean |
hasRequestCountAfterHalfOpen()
半开后最大放量数(用户不配置最大百分比时默认使用该配置)
.google.protobuf.UInt32Value requestCountAfterHalfOpen = 5; |
boolean |
hasSleepWindow()
触发熔断后到半开状态之间的等待间隔
.google.protobuf.Duration sleepWindow = 1; |
boolean |
hasSuccessRateToClose()
熔断器半开到关闭所必须的最少成功率,默认100%
.google.protobuf.UInt32Value successRateToClose = 4; |
boolean |
isInitialized() |
static CircuitBreakerProto.RecoverConfig.Builder |
newBuilder() |
static CircuitBreakerProto.RecoverConfig.Builder |
newBuilder(CircuitBreakerProto.RecoverConfig prototype) |
CircuitBreakerProto.RecoverConfig.Builder |
newBuilderForType() |
static CircuitBreakerProto.RecoverConfig |
parseDelimitedFrom(InputStream input) |
static CircuitBreakerProto.RecoverConfig |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CircuitBreakerProto.RecoverConfig |
parseFrom(byte[] data) |
static CircuitBreakerProto.RecoverConfig |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CircuitBreakerProto.RecoverConfig |
parseFrom(ByteBuffer data) |
static CircuitBreakerProto.RecoverConfig |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CircuitBreakerProto.RecoverConfig |
parseFrom(com.google.protobuf.ByteString data) |
static CircuitBreakerProto.RecoverConfig |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CircuitBreakerProto.RecoverConfig |
parseFrom(com.google.protobuf.CodedInputStream input) |
static CircuitBreakerProto.RecoverConfig |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CircuitBreakerProto.RecoverConfig |
parseFrom(InputStream input) |
static CircuitBreakerProto.RecoverConfig |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<CircuitBreakerProto.RecoverConfig> |
parser() |
CircuitBreakerProto.RecoverConfig.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoffindInitializationErrors, getInitializationErrorString, toStringtoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int SLEEPWINDOW_FIELD_NUMBER
public static final int MAXRETRYAFTERHALFOPEN_FIELD_NUMBER
public static final int REQUESTRATEAFTERHALFOPEN_FIELD_NUMBER
public static final int SUCCESSRATETOCLOSE_FIELD_NUMBER
public static final int REQUESTCOUNTAFTERHALFOPEN_FIELD_NUMBER
public static final int OUTLIERDETECTWHEN_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields 在接口中 com.google.protobuf.MessageOrBuildergetUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
public boolean hasSleepWindow()
触发熔断后到半开状态之间的等待间隔
.google.protobuf.Duration sleepWindow = 1;hasSleepWindow 在接口中 CircuitBreakerProto.RecoverConfigOrBuilderpublic com.google.protobuf.Duration getSleepWindow()
触发熔断后到半开状态之间的等待间隔
.google.protobuf.Duration sleepWindow = 1;getSleepWindow 在接口中 CircuitBreakerProto.RecoverConfigOrBuilderpublic com.google.protobuf.DurationOrBuilder getSleepWindowOrBuilder()
触发熔断后到半开状态之间的等待间隔
.google.protobuf.Duration sleepWindow = 1;public boolean hasMaxRetryAfterHalfOpen()
半开后,最多重试多少次恢复
.google.protobuf.UInt32Value maxRetryAfterHalfOpen = 2;hasMaxRetryAfterHalfOpen 在接口中 CircuitBreakerProto.RecoverConfigOrBuilderpublic com.google.protobuf.UInt32Value getMaxRetryAfterHalfOpen()
半开后,最多重试多少次恢复
.google.protobuf.UInt32Value maxRetryAfterHalfOpen = 2;getMaxRetryAfterHalfOpen 在接口中 CircuitBreakerProto.RecoverConfigOrBuilderpublic com.google.protobuf.UInt32ValueOrBuilder getMaxRetryAfterHalfOpenOrBuilder()
半开后,最多重试多少次恢复
.google.protobuf.UInt32Value maxRetryAfterHalfOpen = 2;public List<com.google.protobuf.UInt32Value> getRequestRateAfterHalfOpenList()
半开后放量的最大百分比
repeated .google.protobuf.UInt32Value requestRateAfterHalfOpen = 3;public List<? extends com.google.protobuf.UInt32ValueOrBuilder> getRequestRateAfterHalfOpenOrBuilderList()
半开后放量的最大百分比
repeated .google.protobuf.UInt32Value requestRateAfterHalfOpen = 3;public int getRequestRateAfterHalfOpenCount()
半开后放量的最大百分比
repeated .google.protobuf.UInt32Value requestRateAfterHalfOpen = 3;public com.google.protobuf.UInt32Value getRequestRateAfterHalfOpen(int index)
半开后放量的最大百分比
repeated .google.protobuf.UInt32Value requestRateAfterHalfOpen = 3;public com.google.protobuf.UInt32ValueOrBuilder getRequestRateAfterHalfOpenOrBuilder(int index)
半开后放量的最大百分比
repeated .google.protobuf.UInt32Value requestRateAfterHalfOpen = 3;public boolean hasSuccessRateToClose()
熔断器半开到关闭所必须的最少成功率,默认100%
.google.protobuf.UInt32Value successRateToClose = 4;hasSuccessRateToClose 在接口中 CircuitBreakerProto.RecoverConfigOrBuilderpublic com.google.protobuf.UInt32Value getSuccessRateToClose()
熔断器半开到关闭所必须的最少成功率,默认100%
.google.protobuf.UInt32Value successRateToClose = 4;getSuccessRateToClose 在接口中 CircuitBreakerProto.RecoverConfigOrBuilderpublic com.google.protobuf.UInt32ValueOrBuilder getSuccessRateToCloseOrBuilder()
熔断器半开到关闭所必须的最少成功率,默认100%
.google.protobuf.UInt32Value successRateToClose = 4;public boolean hasRequestCountAfterHalfOpen()
半开后最大放量数(用户不配置最大百分比时默认使用该配置)
.google.protobuf.UInt32Value requestCountAfterHalfOpen = 5;hasRequestCountAfterHalfOpen 在接口中 CircuitBreakerProto.RecoverConfigOrBuilderpublic com.google.protobuf.UInt32Value getRequestCountAfterHalfOpen()
半开后最大放量数(用户不配置最大百分比时默认使用该配置)
.google.protobuf.UInt32Value requestCountAfterHalfOpen = 5;getRequestCountAfterHalfOpen 在接口中 CircuitBreakerProto.RecoverConfigOrBuilderpublic com.google.protobuf.UInt32ValueOrBuilder getRequestCountAfterHalfOpenOrBuilder()
半开后最大放量数(用户不配置最大百分比时默认使用该配置)
.google.protobuf.UInt32Value requestCountAfterHalfOpen = 5;public int getOutlierDetectWhenValue()
.v1.RecoverConfig.OutlierDetectWhen outlierDetectWhen = 6;getOutlierDetectWhenValue 在接口中 CircuitBreakerProto.RecoverConfigOrBuilderpublic CircuitBreakerProto.RecoverConfig.OutlierDetectWhen getOutlierDetectWhen()
.v1.RecoverConfig.OutlierDetectWhen outlierDetectWhen = 6;getOutlierDetectWhen 在接口中 CircuitBreakerProto.RecoverConfigOrBuilderpublic final boolean isInitialized()
isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo 在接口中 com.google.protobuf.MessageLitewriteTo 在类中 com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize 在接口中 com.google.protobuf.MessageLitegetSerializedSize 在类中 com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals 在接口中 com.google.protobuf.Messageequals 在类中 com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode 在接口中 com.google.protobuf.MessagehashCode 在类中 com.google.protobuf.AbstractMessagepublic static CircuitBreakerProto.RecoverConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CircuitBreakerProto.RecoverConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CircuitBreakerProto.RecoverConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CircuitBreakerProto.RecoverConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CircuitBreakerProto.RecoverConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CircuitBreakerProto.RecoverConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CircuitBreakerProto.RecoverConfig parseFrom(InputStream input) throws IOException
IOExceptionpublic static CircuitBreakerProto.RecoverConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static CircuitBreakerProto.RecoverConfig parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static CircuitBreakerProto.RecoverConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static CircuitBreakerProto.RecoverConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static CircuitBreakerProto.RecoverConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic CircuitBreakerProto.RecoverConfig.Builder newBuilderForType()
newBuilderForType 在接口中 com.google.protobuf.MessagenewBuilderForType 在接口中 com.google.protobuf.MessageLitepublic static CircuitBreakerProto.RecoverConfig.Builder newBuilder()
public static CircuitBreakerProto.RecoverConfig.Builder newBuilder(CircuitBreakerProto.RecoverConfig prototype)
public CircuitBreakerProto.RecoverConfig.Builder toBuilder()
toBuilder 在接口中 com.google.protobuf.MessagetoBuilder 在接口中 com.google.protobuf.MessageLitepublic static CircuitBreakerProto.RecoverConfig getDefaultInstance()
public static com.google.protobuf.Parser<CircuitBreakerProto.RecoverConfig> parser()
public com.google.protobuf.Parser<CircuitBreakerProto.RecoverConfig> getParserForType()
getParserForType 在接口中 com.google.protobuf.MessagegetParserForType 在接口中 com.google.protobuf.MessageLitegetParserForType 在类中 com.google.protobuf.GeneratedMessageV3public CircuitBreakerProto.RecoverConfig getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderCopyright © 2021. All rights reserved.