Lines Matching defs:zone

37  * A ZoneNode that represents a zone may be "populated" with a
38 * NameNode tree containing the zone's contents.
40 * <p> A populated zone's contents will be flagged as having expired after
41 * the time specified by the minimum TTL value in the zone's SOA record.
43 * <p> Since zone cuts aren't directly modeled by a tree of ZoneNodes,
48 * <p> The zone's contents are accessed via a soft reference, so its
49 * heap space may be reclaimed when necessary. The zone may be
58 private SoftReference contentsRef = null; // the zone's namespace
59 private long serialNumber = -1; // the zone data's serial number
60 private Date expiration = null; // time when the zone's data expires
87 * Returns the zone's contents, or null if the zone is not populated.
96 * Has this zone's data expired?
103 * Returns the deepest populated zone on the path specified by a
105 * zone on that path. Note that a node may be depopulated after
123 * Populates (or repopulates) a zone given its own fully-qualified
124 * name and its resource records. Returns the zone's new contents.
126 NameNode populate(DnsName zone, ResourceRecords rrs) {
127 // assert zone.get(0).equals(""); // zone has root label
128 // assert (zone.size() == (depth() + 1)); // +1 due to root label
136 // Ignore resource records whose names aren't within the zone's
137 // domain. Also skip records of the zone's top node, since
138 // the zone's root NameNode is already in place.
139 if ((n.size() > zone.size()) && n.startsWith(zone)) {
140 NameNode nnode = newContents.add(n, zone.size());
146 // The zone's SOA record is the first record in the answer section.
157 * Set this zone's data to expire in <tt>secsToExpiration</tt> seconds.
174 * Compares this zone's serial number with that of an SOA record.
176 * Returns a negative, zero, or positive integer as this zone's