Class ContainerEndpoint
java.lang.Object
com.yahoo.vespa.hosted.controller.api.integration.configserver.ContainerEndpoint
This represents a list of one or more names for a container cluster.
- Author:
- mpolden
-
Constructor Summary
ConstructorsConstructorDescriptionContainerEndpoint(String clusterId, String scope, List<String> names, OptionalInt weight, com.yahoo.config.provision.zone.RoutingMethod routingMethod) -
Method Summary
Modifier and TypeMethodDescriptionID of the cluster to which this pointsbooleaninthashCode()names()All valid DNS names for this endpoint.com.yahoo.config.provision.zone.RoutingMethodThe routing method used by this endpointscope()The scope of this endpointtoString()weight()The relative weight of this endpoint
-
Constructor Details
-
ContainerEndpoint
public ContainerEndpoint(String clusterId, String scope, List<String> names, OptionalInt weight, com.yahoo.config.provision.zone.RoutingMethod routingMethod)
-
-
Method Details
-
clusterId
ID of the cluster to which this points -
scope
The scope of this endpoint -
names
All valid DNS names for this endpoint. This can contain both proper DNS names and synthetic identifiers used for routing, such as a Host header value that is not necessarily a proper DNS name. -
weight
The relative weight of this endpoint -
routingMethod
public com.yahoo.config.provision.zone.RoutingMethod routingMethod()The routing method used by this endpoint -
equals
-
hashCode
public int hashCode() -
toString
-