Package com.yahoo.config.model.api
Class ContainerEndpoint
- java.lang.Object
-
- com.yahoo.config.model.api.ContainerEndpoint
-
public class ContainerEndpoint extends Object
ContainerEndpoint tracks the service names that a Container Cluster should be known as. This is used during request routing both for regular requests and for health checks in traffic distribution.- Author:
- ogronnesby
-
-
Constructor Summary
Constructors Constructor Description ContainerEndpoint(String clusterId, ApplicationClusterEndpoint.Scope scope, List<String> names)
ContainerEndpoint(String clusterId, ApplicationClusterEndpoint.Scope scope, List<String> names, OptionalInt weight)
ContainerEndpoint(String clusterId, ApplicationClusterEndpoint.Scope scope, List<String> names, OptionalInt weight, ApplicationClusterEndpoint.RoutingMethod routingMethod)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
clusterId()
boolean
equals(Object o)
int
hashCode()
List<String>
names()
ApplicationClusterEndpoint.RoutingMethod
routingMethod()
ApplicationClusterEndpoint.Scope
scope()
String
toString()
OptionalInt
weight()
-
-
-
Constructor Detail
-
ContainerEndpoint
public ContainerEndpoint(String clusterId, ApplicationClusterEndpoint.Scope scope, List<String> names)
-
ContainerEndpoint
public ContainerEndpoint(String clusterId, ApplicationClusterEndpoint.Scope scope, List<String> names, OptionalInt weight)
-
ContainerEndpoint
public ContainerEndpoint(String clusterId, ApplicationClusterEndpoint.Scope scope, List<String> names, OptionalInt weight, ApplicationClusterEndpoint.RoutingMethod routingMethod)
-
-
Method Detail
-
clusterId
public String clusterId()
-
scope
public ApplicationClusterEndpoint.Scope scope()
-
weight
public OptionalInt weight()
-
routingMethod
public ApplicationClusterEndpoint.RoutingMethod routingMethod()
-
-