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 Object
Resolution state of an underlying cluster.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Bootstrapper.ServerInfo
protected final Long
protected final String
protected final EnvoyServerProtoData.OutlierDetection
protected boolean
protected boolean
protected io.grpc.Status
protected final EnvoyServerProtoData.UpstreamTlsContext
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
ClusterState
(String name, Bootstrapper.ServerInfo lrsServerInfo, Long maxConcurrentRequests, EnvoyServerProtoData.UpstreamTlsContext tlsContext, Map<String, com.google.protobuf.Struct> filterMetadata, EnvoyServerProtoData.OutlierDetection outlierDetection) -
Method Summary
-
Field Details
-
name
-
lrsServerInfo
-
maxConcurrentRequests
-
tlsContext
-
filterMetadata
-
outlierDetection
-
status
protected io.grpc.Status status -
resolved
protected boolean resolved -
result
-
shutdown
protected boolean shutdown
-
-
Constructor Details
-
ClusterState
private ClusterState(String name, @Nullable Bootstrapper.ServerInfo lrsServerInfo, @Nullable Long maxConcurrentRequests, @Nullable EnvoyServerProtoData.UpstreamTlsContext tlsContext, Map<String, com.google.protobuf.Struct> filterMetadata, @Nullable EnvoyServerProtoData.OutlierDetection outlierDetection)
-
-
Method Details
-
start
abstract void start() -
shutdown
void shutdown()
-