Class SrvRecordMailserverServiceImpl

    • Method Detail

      • getPriority

        public Integer getPriority()
        Description copied from interface: SrvRecordMailserverService
        Priority of the mailserver service. A service with a smaller priority should be preferred over a service with a larger priority. This also applies across protocols, for example, it can be made clear that the connection via IMAP should be preferred to one via POP3.
        Specified by:
        getPriority in interface SrvRecordMailserverService
        Returns:
        Priority of the mailserver service or null if not specified
      • setPriority

        public void setPriority​(Integer priority)
      • getWeight

        public Integer getWeight()
        Description copied from interface: SrvRecordMailserverService
        If two services have the same priority, their selection should be based on their weight. If there are two services, one with weight 7 and one with weight 3, the first one should be taken in 70% of cases. This way a load balancing can be configured.
        Specified by:
        getWeight in interface SrvRecordMailserverService
        Returns:
        Weight or null if not configured.
      • setWeight

        public void setWeight​(Integer weight)