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

Method getCache

src/main/java/core/org/xbill/DNS/jnamed.java:91–99  ·  view source on GitHub ↗
(int dclass)

Source from the content-addressed store, hash-verified

89}
90
91public Cache
92getCache(int dclass) {
93 Cache c = (Cache) caches.get(dclass);
94 if (c == null) {
95 c = new Cache(dclass);
96 caches.put(dclass, c);
97 }
98 return c;
99}
100
101public Zone
102findBestZone(Name name) {

Callers 2

findExactMatchMethod · 0.95
addAnswerMethod · 0.95

Calls 2

getMethod · 0.45
putMethod · 0.45

Tested by

no test coverage detected