Class LatencyDirectTarget
java.lang.Object
com.yahoo.vespa.hosted.controller.api.integration.dns.DirectTarget
com.yahoo.vespa.hosted.controller.api.integration.dns.LatencyDirectTarget
An implementation of
DirectTarget that uses latency-based routing.- Author:
- freva
-
Constructor Summary
ConstructorsConstructorDescriptionLatencyDirectTarget(RecordData recordData, com.yahoo.config.provision.zone.ZoneId zone) -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()pack()Returns the fields in this encoded as record datatoString()static LatencyDirectTargetunpack(RecordData data) Unpack latency alias from given record datacom.yahoo.config.provision.zone.ZoneIdzone()The zone this record points toMethods inherited from class com.yahoo.vespa.hosted.controller.api.integration.dns.DirectTarget
id, recordData
-
Constructor Details
-
LatencyDirectTarget
-
-
Method Details
-
zone
public com.yahoo.config.provision.zone.ZoneId zone()The zone this record points to -
pack
Description copied from class:DirectTargetReturns the fields in this encoded as record data- Specified by:
packin classDirectTarget
-
equals
- Overrides:
equalsin classDirectTarget
-
hashCode
public int hashCode()- Overrides:
hashCodein classDirectTarget
-
toString
-
unpack
Unpack latency alias from given record data
-