Class SOAData

  • All Implemented Interfaces:
    Map<String,​Object>

    public class SOAData
    extends com.google.common.collect.ForwardingMap<String,​Object>
    Corresponds to the binary representation of the SOA (Start of Authority) RData

    Example

     SOAData rdata = SOAData.builder()
                            .rname("foo.com.")
                            .mname("admin.foo.com.")
                            .serial(1)
                            .refresh(3600)
                            .retry(600)
                            .expire(604800)
                            .minimum(60).build()
     
    See Also:
    RFC 1035
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  SOAData.Builder  
      • Nested classes/interfaces inherited from class com.google.common.collect.ForwardingMap

        com.google.common.collect.ForwardingMap.StandardEntrySet, com.google.common.collect.ForwardingMap.StandardKeySet, com.google.common.collect.ForwardingMap.StandardValues
    • Method Detail

      • getMname

        public String getMname()
        domain-name of the name server that was the original or primary source of data for this zone
      • getRname

        public String getRname()
        domain-name which specifies the mailbox of the person responsible for this zone.
      • getSerial

        public int getSerial()
        version number of the original copy of the zone.
      • getRefresh

        public int getRefresh()
        time interval before the zone should be refreshed
      • getRetry

        public int getRetry()
        time interval that should elapse before a failed refresh should be retried
      • getExpire

        public int getExpire()
        time value that specifies the upper limit on the time interval that can elapse before the zone is no longer authoritative.
      • getMinimum

        public int getMinimum()
        minimum TTL field that should be exported with any RR from this zone.
      • delegate

        protected Map<String,​Object> delegate()
        Specified by:
        delegate in class com.google.common.collect.ForwardingMap<String,​Object>