Class DnsSrv

java.lang.Object
com.mysql.cj.util.DnsSrv

public class DnsSrv
extends java.lang.Object
  • Nested Class Summary

    Nested Classes 
    Modifier and Type Class Description
    static class  DnsSrv.SrvRecord  
  • Constructor Summary

    Constructors 
    Constructor Description
    DnsSrv()  
  • Method Summary

    Modifier and Type Method Description
    static java.util.List<DnsSrv.SrvRecord> lookupSrvRecords​(java.lang.String serviceName)  
    static java.util.List<DnsSrv.SrvRecord> sortSrvRecords​(java.util.List<DnsSrv.SrvRecord> srvRecords)
    Sort a list of DNS SRV records according to the sorting rules described in rfc2782.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait