protected static class DnsSrvConnectionStrategy.SrvRecord extends Object
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() |
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 © 2024. All rights reserved.