MCPcopy Create free account
hub / github.com/apache/nutch / getReader

Method getReader

src/java/org/apache/nutch/api/resources/DbResource.java:59–67  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

57 }
58
59 private DbReader getReader() {
60 String confId = ConfigResource.DEFAULT;
61 synchronized (readers) {
62 if (!readers.containsKey(confId)) {
63 readers.put(confId, new DbReader(configManager.get(confId), null));
64 }
65 return readers.get(confId);
66 }
67 }
68}

Callers 1

runQueryMethod · 0.95

Calls 2

getMethod · 0.65
putMethod · 0.45

Tested by

no test coverage detected