Class SRVData
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSRVData.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SRVData.Builderbuilder()protected Map<String,Object>delegate()intgetPort()The port on this target host of this service.intgetPriority()The priority of this target host.StringgetTarget()The domain name of the target host.intgetWeight()The weight field specifies a relative weight for entries with the same priority.SRVData.BuildertoBuilder()-
Methods inherited from class com.google.common.collect.ForwardingMap
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, standardClear, standardContainsKey, standardContainsValue, standardEquals, standardHashCode, standardIsEmpty, standardPutAll, standardRemove, standardToString, values
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
-
-
Method Detail
-
getPriority
public int getPriority()
The priority of this target host. A client MUST attempt to contact the target host with the lowest-numbered priority it can reach; target hosts with the same priority SHOULD be tried in an order defined by the weight field.
-
getWeight
public int getWeight()
The weight field specifies a relative weight for entries with the same priority. Larger weights SHOULD be given a proportionately higher probability of being selected.
-
getPort
public int getPort()
The port on this target host of this service.
-
getTarget
public String getTarget()
The domain name of the target host. There MUST be one or more address records for this name, the name MUST NOT be an alias.
-
builder
public static SRVData.Builder builder()
-
toBuilder
public SRVData.Builder toBuilder()
-
-