Package com.spotify.dns
Class LookupResult
- java.lang.Object
-
- com.spotify.dns.LookupResult
-
public class LookupResult extends Object
Immutable data object with the relevant parts of an SRV record.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LookupResultcreate(String host, int port, int priority, int weight, long ttl)booleanequals(Object o)inthashCode()Stringhost()intport()intpriority()StringtoString()longttl()intweight()
-
-
-
Method Detail
-
create
public static LookupResult create(String host, int port, int priority, int weight, long ttl)
-
host
public String host()
-
port
public int port()
-
priority
public int priority()
-
weight
public int weight()
-
ttl
public long ttl()
-
-