MCPcopy Create free account
hub / github.com/DeNA/PacketProxy / withDClass

Method withDClass

src/main/java/core/org/xbill/DNS/Record.java:625–631  ·  view source on GitHub ↗

Creates a new record identical to the current record, but with a different class and ttl. This is most useful for dynamic update.

(int dclass, long ttl)

Source from the content-addressed store, hash-verified

623 * class and ttl. This is most useful for dynamic update.
624 */
625Record
626withDClass(int dclass, long ttl) {
627 Record rec = cloneRecord();
628 rec.dclass = dclass;
629 rec.ttl = ttl;
630 return rec;
631}
632
633/* Sets the TTL to the specified value. This is intentionally not public. */
634void

Callers 1

deleteMethod · 0.80

Calls 1

cloneRecordMethod · 0.95

Tested by

no test coverage detected