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

Method getByHostName

src/java/org/apache/nutch/host/HostDb.java:130–132  ·  view source on GitHub ↗
(String hostName)

Source from the content-addressed store, hash-verified

128 }
129
130 public Host getByHostName(String hostName) throws IOException {
131 return get(TableUtil.reverseHost(hostName));
132 }
133
134 public void put(String key, Host host) throws IOException {
135 cache.put(key, new CacheHost(host, System.currentTimeMillis()));

Callers 1

getFetchItemQueueMethod · 0.80

Calls 2

getMethod · 0.95
reverseHostMethod · 0.95

Tested by

no test coverage detected