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

Method getLong

src/java/org/apache/nutch/storage/Host.java:379–383  ·  view source on GitHub ↗
(String key, long defaultValue)

Source from the content-addressed store, hash-verified

377 // TODO NUTCH-1709 Generated classes o.a.n.storage.Host and
378 // o.a.n.storage.ProtocolStatus contain methods not defined in source .avsc
379 public long getLong(String key, long defaultValue) {
380 if (!contains(key))
381 return defaultValue;
382 return Long.parseLong(getValue(key, null));
383 }
384
385 private static final Tombstone TOMBSTONE = new Tombstone();
386

Callers 9

getFetchItemQueueMethod · 0.95
runMethod · 0.80
FetchItemQueuesMethod · 0.80
QueueFeederMethod · 0.80
runMethod · 0.80
HostDbMethod · 0.80
setupMethod · 0.80
setupMethod · 0.80
setupMethod · 0.80

Calls 2

containsMethod · 0.95
getValueMethod · 0.95

Tested by

no test coverage detected