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

Method CacheRRset

src/main/java/core/org/xbill/DNS/Cache.java:44–50  ·  view source on GitHub ↗
(Record rec, int cred, long maxttl)

Source from the content-addressed store, hash-verified

42 int expire;
43
44 public
45 CacheRRset(Record rec, int cred, long maxttl) {
46 super();
47 this.credibility = cred;
48 this.expire = limitExpire(rec.getTTL(), maxttl);
49 addRR(rec);
50 }
51
52 public
53 CacheRRset(RRset rrset, int cred, long maxttl) {

Callers

nothing calls this directly

Calls 3

limitExpireMethod · 0.80
addRRMethod · 0.80
getTTLMethod · 0.45

Tested by

no test coverage detected