Class ContainerEndpoint
- java.lang.Object
-
- com.yahoo.vespa.hosted.controller.api.integration.configserver.ContainerEndpoint
-
public class ContainerEndpoint extends Object
This represents a list of one or more names for a container cluster.- Author:
- mpolden
-
-
Constructor Summary
Constructors Constructor Description ContainerEndpoint(String clusterId, String scope, List<String> names, OptionalInt weight, com.yahoo.config.provision.zone.RoutingMethod routingMethod)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclusterId()ID of the cluster to which this pointsbooleanequals(Object o)inthashCode()List<String>names()All valid DNS names for this endpoint.com.yahoo.config.provision.zone.RoutingMethodroutingMethod()The routing method used by this endpointStringscope()The scope of this endpointStringtoString()OptionalIntweight()The relative weight of this endpoint
-
-
-
Constructor Detail
-
ContainerEndpoint
public ContainerEndpoint(String clusterId, String scope, List<String> names, OptionalInt weight, com.yahoo.config.provision.zone.RoutingMethod routingMethod)
-
-
Method Detail
-
clusterId
public String clusterId()
ID of the cluster to which this points
-
scope
public String scope()
The scope of this endpoint
-
names
public List<String> 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
public OptionalInt weight()
The relative weight of this endpoint
-
routingMethod
public com.yahoo.config.provision.zone.RoutingMethod routingMethod()
The routing method used by this endpoint
-
-