Package io.grpc.xds
Class ClusterResolverLoadBalancer.ClusterResolverLbState.ClusterState
- java.lang.Object
-
- io.grpc.xds.ClusterResolverLoadBalancer.ClusterResolverLbState.ClusterState
-
- Direct Known Subclasses:
ClusterResolverLoadBalancer.ClusterResolverLbState.EdsClusterState,ClusterResolverLoadBalancer.ClusterResolverLbState.LogicalDnsClusterState
- Enclosing class:
- ClusterResolverLoadBalancer.ClusterResolverLbState
private abstract class ClusterResolverLoadBalancer.ClusterResolverLbState.ClusterState extends java.lang.ObjectResolution state of an underlying cluster.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Map<java.lang.String,com.google.protobuf.Struct>filterMetadataprotected Bootstrapper.ServerInfolrsServerInfoprotected java.lang.LongmaxConcurrentRequestsprotected java.lang.Stringnameprotected EnvoyServerProtoData.OutlierDetectionoutlierDetectionprotected booleanresolvedprotected ClusterResolverLoadBalancer.ClusterResolutionResultresultprotected booleanshutdownprotected io.grpc.Statusstatusprotected EnvoyServerProtoData.UpstreamTlsContexttlsContext
-
Constructor Summary
Constructors Modifier Constructor Description privateClusterState(java.lang.String name, Bootstrapper.ServerInfo lrsServerInfo, java.lang.Long maxConcurrentRequests, EnvoyServerProtoData.UpstreamTlsContext tlsContext, java.util.Map<java.lang.String,com.google.protobuf.Struct> filterMetadata, EnvoyServerProtoData.OutlierDetection outlierDetection)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description (package private) voidshutdown()(package private) abstract voidstart()
-
-
-
Field Detail
-
name
protected final java.lang.String name
-
lrsServerInfo
@Nullable protected final Bootstrapper.ServerInfo lrsServerInfo
-
maxConcurrentRequests
@Nullable protected final java.lang.Long maxConcurrentRequests
-
tlsContext
@Nullable protected final EnvoyServerProtoData.UpstreamTlsContext tlsContext
-
filterMetadata
protected final java.util.Map<java.lang.String,com.google.protobuf.Struct> filterMetadata
-
outlierDetection
@Nullable protected final EnvoyServerProtoData.OutlierDetection outlierDetection
-
status
protected io.grpc.Status status
-
resolved
protected boolean resolved
-
result
@Nullable protected ClusterResolverLoadBalancer.ClusterResolutionResult result
-
shutdown
protected boolean shutdown
-
-
Constructor Detail
-
ClusterState
private ClusterState(java.lang.String name, @Nullable Bootstrapper.ServerInfo lrsServerInfo, @Nullable java.lang.Long maxConcurrentRequests, @Nullable EnvoyServerProtoData.UpstreamTlsContext tlsContext, java.util.Map<java.lang.String,com.google.protobuf.Struct> filterMetadata, @Nullable EnvoyServerProtoData.OutlierDetection outlierDetection)
-
-