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

Method findRecords

src/main/java/core/org/xbill/DNS/Cache.java:516–523  ·  view source on GitHub ↗
(Name name, int type, int minCred)

Source from the content-addressed store, hash-verified

514}
515
516private RRset []
517findRecords(Name name, int type, int minCred) {
518 SetResponse cr = lookupRecords(name, type, minCred);
519 if (cr.isSuccessful())
520 return cr.answers();
521 else
522 return null;
523}
524
525/**
526 * Looks up credible Records in the Cache (a wrapper around lookupRecords).

Callers 2

findExactMatchMethod · 0.95
findAnyRecordsMethod · 0.95

Calls 3

lookupRecordsMethod · 0.95
isSuccessfulMethod · 0.95
answersMethod · 0.95

Tested by

no test coverage detected