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.Object
Resolution state of an underlying cluster.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Map<java.lang.String,com.google.protobuf.Struct>
filterMetadata
protected Bootstrapper.ServerInfo
lrsServerInfo
protected java.lang.Long
maxConcurrentRequests
protected java.lang.String
name
protected EnvoyServerProtoData.OutlierDetection
outlierDetection
protected boolean
resolved
protected ClusterResolverLoadBalancer.ClusterResolutionResult
result
protected boolean
shutdown
protected io.grpc.Status
status
protected EnvoyServerProtoData.UpstreamTlsContext
tlsContext
-
Constructor Summary
Constructors Modifier Constructor Description private
ClusterState(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) void
shutdown()
(package private) abstract void
start()
-
-
-
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)
-
-