Package com.yahoo.config.application.api
Class Endpoint.Target
java.lang.Object
com.yahoo.config.application.api.Endpoint.Target
- Enclosing class:
- Endpoint
A target of an endpoint
-
Constructor Summary
ConstructorDescriptionTarget
(com.yahoo.config.provision.RegionName region, com.yahoo.config.provision.InstanceName instance, int weight) -
Method Summary
-
Constructor Details
-
Target
public Target(com.yahoo.config.provision.RegionName region, com.yahoo.config.provision.InstanceName instance, int weight)
-
-
Method Details
-
region
public com.yahoo.config.provision.RegionName region()The region this points to -
instance
public com.yahoo.config.provision.InstanceName instance()The instance this points to -
weight
public int weight()The routing weight of this target -
toString
-
equals
-
hashCode
public int hashCode()
-