Class DnsSrvRecordAddressResolver.SrvRecord
java.lang.Object
com.rabbitmq.client.DnsSrvRecordAddressResolver.SrvRecord
- All Implemented Interfaces:
Comparable<DnsSrvRecordAddressResolver.SrvRecord>
- Enclosing class:
DnsSrvRecordAddressResolver
public static class DnsSrvRecordAddressResolver.SrvRecord
extends Object
implements Comparable<DnsSrvRecordAddressResolver.SrvRecord>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintfromSrvQueryResult(String srvResult) getHost()intgetPort()intint
-
Field Details
-
priority
private final int priority -
weight
private final int weight -
port
private final int port -
host
-
-
Constructor Details
-
SrvRecord
-
-
Method Details
-
getPriority
public int getPriority() -
getWeight
public int getWeight() -
getPort
public int getPort() -
getHost
-
fromSrvQueryResult
-
compareTo
- Specified by:
compareToin interfaceComparable<DnsSrvRecordAddressResolver.SrvRecord>
-