Class LookupResult


  • public class LookupResult
    extends Object
    Immutable data object with the relevant parts of an SRV record.
    • Method Detail

      • create

        public static LookupResult create​(String host,
                                          int port,
                                          int priority,
                                          int weight,
                                          long ttl)
      • port

        public int port()
      • priority

        public int priority()
      • weight

        public int weight()
      • ttl

        public long ttl()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object