public static interface CircuitBreakerProto.DestinationSetOrBuilder
extends com.google.protobuf.MessageOrBuilder
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
containsMetadata(String key)
可选,SUBSET标识
map<string, .v1.MatchString> metadata = 3; |
com.google.protobuf.Int64Value |
getErrorCodes(int index)
返回码,指定哪些返回码会使用该规则
repeated .google.protobuf.Int64Value errorCodes = 13; |
int |
getErrorCodesCount()
返回码,指定哪些返回码会使用该规则
repeated .google.protobuf.Int64Value errorCodes = 13; |
List<com.google.protobuf.Int64Value> |
getErrorCodesList()
返回码,指定哪些返回码会使用该规则
repeated .google.protobuf.Int64Value errorCodes = 13; |
com.google.protobuf.Int64ValueOrBuilder |
getErrorCodesOrBuilder(int index)
返回码,指定哪些返回码会使用该规则
repeated .google.protobuf.Int64Value errorCodes = 13; |
List<? extends com.google.protobuf.Int64ValueOrBuilder> |
getErrorCodesOrBuilderList()
返回码,指定哪些返回码会使用该规则
repeated .google.protobuf.Int64Value errorCodes = 13; |
Map<String,ModelProto.MatchString> |
getMetadata()
已过时。
|
int |
getMetadataCount()
可选,SUBSET标识
map<string, .v1.MatchString> metadata = 3; |
Map<String,ModelProto.MatchString> |
getMetadataMap()
可选,SUBSET标识
map<string, .v1.MatchString> metadata = 3; |
ModelProto.MatchString |
getMetadataOrDefault(String key,
ModelProto.MatchString defaultValue)
可选,SUBSET标识
map<string, .v1.MatchString> metadata = 3; |
ModelProto.MatchString |
getMetadataOrThrow(String key)
可选,SUBSET标识
map<string, .v1.MatchString> metadata = 3; |
ModelProto.MatchString |
getMethod()
被调的接口信息,指定哪些接口会使用该规则
.v1.MatchString method = 12; |
ModelProto.MatchStringOrBuilder |
getMethodOrBuilder()
被调的接口信息,指定哪些接口会使用该规则
.v1.MatchString method = 12; |
com.google.protobuf.UInt32Value |
getMetricPrecision()
熔断数据统计精度,决定数据度量的最小周期
度量滑窗的步长=window/precision
.google.protobuf.UInt32Value metricPrecision = 8; |
com.google.protobuf.UInt32ValueOrBuilder |
getMetricPrecisionOrBuilder()
熔断数据统计精度,决定数据度量的最小周期
度量滑窗的步长=window/precision
.google.protobuf.UInt32Value metricPrecision = 8; |
com.google.protobuf.Duration |
getMetricWindow()
熔断数据度量周期
所有的阈值指标按此周期进行统计
.google.protobuf.Duration metricWindow = 7; |
com.google.protobuf.DurationOrBuilder |
getMetricWindowOrBuilder()
熔断数据度量周期
所有的阈值指标按此周期进行统计
.google.protobuf.Duration metricWindow = 7; |
com.google.protobuf.StringValue |
getNamespace()
.google.protobuf.StringValue namespace = 2; |
com.google.protobuf.StringValueOrBuilder |
getNamespaceOrBuilder()
.google.protobuf.StringValue namespace = 2; |
CircuitBreakerProto.CbPolicy |
getPolicy()
熔断策略
.v1.CbPolicy policy = 11; |
CircuitBreakerProto.CbPolicyOrBuilder |
getPolicyOrBuilder()
熔断策略
.v1.CbPolicy policy = 11; |
CircuitBreakerProto.RecoverConfig |
getRecover()
触发熔断后恢复配置
.v1.RecoverConfig recover = 10; |
CircuitBreakerProto.RecoverConfigOrBuilder |
getRecoverOrBuilder()
触发熔断后恢复配置
.v1.RecoverConfig recover = 10; |
CircuitBreakerProto.DestinationSet.Resource |
getResource()
.v1.DestinationSet.Resource resource = 4; |
int |
getResourceValue()
.v1.DestinationSet.Resource resource = 4; |
CircuitBreakerProto.DestinationSet.Scope |
getScope()
.v1.DestinationSet.Scope scope = 6; |
int |
getScopeValue()
.v1.DestinationSet.Scope scope = 6; |
com.google.protobuf.StringValue |
getService()
被调命名空间以及服务名,可以为*,代表全匹配
.google.protobuf.StringValue service = 1; |
com.google.protobuf.StringValueOrBuilder |
getServiceOrBuilder()
被调命名空间以及服务名,可以为*,代表全匹配
.google.protobuf.StringValue service = 1; |
CircuitBreakerProto.DestinationSet.Type |
getType()
.v1.DestinationSet.Type type = 5; |
int |
getTypeValue()
.v1.DestinationSet.Type type = 5; |
com.google.protobuf.Duration |
getUpdateInterval()
熔断数据上报周期,对分布式熔断有效
.google.protobuf.Duration updateInterval = 9; |
com.google.protobuf.DurationOrBuilder |
getUpdateIntervalOrBuilder()
熔断数据上报周期,对分布式熔断有效
.google.protobuf.Duration updateInterval = 9; |
boolean |
hasMethod()
被调的接口信息,指定哪些接口会使用该规则
.v1.MatchString method = 12; |
boolean |
hasMetricPrecision()
熔断数据统计精度,决定数据度量的最小周期
度量滑窗的步长=window/precision
.google.protobuf.UInt32Value metricPrecision = 8; |
boolean |
hasMetricWindow()
熔断数据度量周期
所有的阈值指标按此周期进行统计
.google.protobuf.Duration metricWindow = 7; |
boolean |
hasNamespace()
.google.protobuf.StringValue namespace = 2; |
boolean |
hasPolicy()
熔断策略
.v1.CbPolicy policy = 11; |
boolean |
hasRecover()
触发熔断后恢复配置
.v1.RecoverConfig recover = 10; |
boolean |
hasService()
被调命名空间以及服务名,可以为*,代表全匹配
.google.protobuf.StringValue service = 1; |
boolean |
hasUpdateInterval()
熔断数据上报周期,对分布式熔断有效
.google.protobuf.Duration updateInterval = 9; |
boolean hasService()
被调命名空间以及服务名,可以为*,代表全匹配
.google.protobuf.StringValue service = 1;com.google.protobuf.StringValue getService()
被调命名空间以及服务名,可以为*,代表全匹配
.google.protobuf.StringValue service = 1;com.google.protobuf.StringValueOrBuilder getServiceOrBuilder()
被调命名空间以及服务名,可以为*,代表全匹配
.google.protobuf.StringValue service = 1;boolean hasNamespace()
.google.protobuf.StringValue namespace = 2;com.google.protobuf.StringValue getNamespace()
.google.protobuf.StringValue namespace = 2;com.google.protobuf.StringValueOrBuilder getNamespaceOrBuilder()
.google.protobuf.StringValue namespace = 2;int getMetadataCount()
可选,SUBSET标识
map<string, .v1.MatchString> metadata = 3;boolean containsMetadata(String key)
可选,SUBSET标识
map<string, .v1.MatchString> metadata = 3;@Deprecated Map<String,ModelProto.MatchString> getMetadata()
getMetadataMap() instead.Map<String,ModelProto.MatchString> getMetadataMap()
可选,SUBSET标识
map<string, .v1.MatchString> metadata = 3;ModelProto.MatchString getMetadataOrDefault(String key, ModelProto.MatchString defaultValue)
可选,SUBSET标识
map<string, .v1.MatchString> metadata = 3;ModelProto.MatchString getMetadataOrThrow(String key)
可选,SUBSET标识
map<string, .v1.MatchString> metadata = 3;int getResourceValue()
.v1.DestinationSet.Resource resource = 4;CircuitBreakerProto.DestinationSet.Resource getResource()
.v1.DestinationSet.Resource resource = 4;int getTypeValue()
.v1.DestinationSet.Type type = 5;CircuitBreakerProto.DestinationSet.Type getType()
.v1.DestinationSet.Type type = 5;int getScopeValue()
.v1.DestinationSet.Scope scope = 6;CircuitBreakerProto.DestinationSet.Scope getScope()
.v1.DestinationSet.Scope scope = 6;boolean hasMetricWindow()
熔断数据度量周期 所有的阈值指标按此周期进行统计
.google.protobuf.Duration metricWindow = 7;com.google.protobuf.Duration getMetricWindow()
熔断数据度量周期 所有的阈值指标按此周期进行统计
.google.protobuf.Duration metricWindow = 7;com.google.protobuf.DurationOrBuilder getMetricWindowOrBuilder()
熔断数据度量周期 所有的阈值指标按此周期进行统计
.google.protobuf.Duration metricWindow = 7;boolean hasMetricPrecision()
熔断数据统计精度,决定数据度量的最小周期 度量滑窗的步长=window/precision
.google.protobuf.UInt32Value metricPrecision = 8;com.google.protobuf.UInt32Value getMetricPrecision()
熔断数据统计精度,决定数据度量的最小周期 度量滑窗的步长=window/precision
.google.protobuf.UInt32Value metricPrecision = 8;com.google.protobuf.UInt32ValueOrBuilder getMetricPrecisionOrBuilder()
熔断数据统计精度,决定数据度量的最小周期 度量滑窗的步长=window/precision
.google.protobuf.UInt32Value metricPrecision = 8;boolean hasUpdateInterval()
熔断数据上报周期,对分布式熔断有效
.google.protobuf.Duration updateInterval = 9;com.google.protobuf.Duration getUpdateInterval()
熔断数据上报周期,对分布式熔断有效
.google.protobuf.Duration updateInterval = 9;com.google.protobuf.DurationOrBuilder getUpdateIntervalOrBuilder()
熔断数据上报周期,对分布式熔断有效
.google.protobuf.Duration updateInterval = 9;boolean hasRecover()
触发熔断后恢复配置
.v1.RecoverConfig recover = 10;CircuitBreakerProto.RecoverConfig getRecover()
触发熔断后恢复配置
.v1.RecoverConfig recover = 10;CircuitBreakerProto.RecoverConfigOrBuilder getRecoverOrBuilder()
触发熔断后恢复配置
.v1.RecoverConfig recover = 10;boolean hasPolicy()
熔断策略
.v1.CbPolicy policy = 11;CircuitBreakerProto.CbPolicy getPolicy()
熔断策略
.v1.CbPolicy policy = 11;CircuitBreakerProto.CbPolicyOrBuilder getPolicyOrBuilder()
熔断策略
.v1.CbPolicy policy = 11;boolean hasMethod()
被调的接口信息,指定哪些接口会使用该规则
.v1.MatchString method = 12;ModelProto.MatchString getMethod()
被调的接口信息,指定哪些接口会使用该规则
.v1.MatchString method = 12;ModelProto.MatchStringOrBuilder getMethodOrBuilder()
被调的接口信息,指定哪些接口会使用该规则
.v1.MatchString method = 12;List<com.google.protobuf.Int64Value> getErrorCodesList()
返回码,指定哪些返回码会使用该规则
repeated .google.protobuf.Int64Value errorCodes = 13;com.google.protobuf.Int64Value getErrorCodes(int index)
返回码,指定哪些返回码会使用该规则
repeated .google.protobuf.Int64Value errorCodes = 13;int getErrorCodesCount()
返回码,指定哪些返回码会使用该规则
repeated .google.protobuf.Int64Value errorCodes = 13;List<? extends com.google.protobuf.Int64ValueOrBuilder> getErrorCodesOrBuilderList()
返回码,指定哪些返回码会使用该规则
repeated .google.protobuf.Int64Value errorCodes = 13;com.google.protobuf.Int64ValueOrBuilder getErrorCodesOrBuilder(int index)
返回码,指定哪些返回码会使用该规则
repeated .google.protobuf.Int64Value errorCodes = 13;Copyright © 2022. All rights reserved.