protected static class DnsSrvConnectionStrategy.SrvRecord extends Object
| Modifier and Type | Field and Description | 
|---|---|
private long | 
expirationTime
expiration time. 
 | 
private static int | 
HASH_CODE_SEED
hash code seed. 
 | 
private int | 
port
SRV port. 
 | 
private long | 
priority
SRV priority. 
 | 
private String | 
target
SRV target. 
 | 
private long | 
weight
SRV weight. 
 | 
| Constructor and Description | 
|---|
SrvRecord(String record,
         long time)
Creates a new SRV record. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(Object o)  | 
long | 
getExpirationTime()
Returns the time in milliseconds that this record should expire. 
 | 
String | 
getLdapURL()
Returns the target properly formatted as an LDAP URL. 
 | 
int | 
getPort()
Returns the port. 
 | 
long | 
getPriority()
Returns the priority. 
 | 
String | 
getTarget()
Returns the target. 
 | 
long | 
getWeight()
Returns the weight. 
 | 
int | 
hashCode()  | 
String | 
toString()  | 
private static final int HASH_CODE_SEED
private final long priority
private final long weight
private final int port
private final String target
private final long expirationTime
public SrvRecord(String record, long time)
record - from DNStime - that this record should expirepublic long getPriority()
public long getWeight()
public int getPort()
public String getTarget()
public String getLdapURL()
public long getExpirationTime()
Copyright © 2003-2019 Virginia Tech. All Rights Reserved.