MCPcopy Index your code
hub / github.com/OpenTSDB/opentsdb / scan

Method scan

src/core/SaltScanner.java:522–528  ·  view source on GitHub ↗

Starts the scanner and is called recursively to fetch the next set of rows from the scanner. @return The map of spans if loaded successfully, null if no data was found

()

Source from the content-addressed store, hash-verified

520 * found
521 */
522 public Object scan() {
523 if (scanner_start < 0) {
524 scanner_start = DateTime.nanoTime();
525 }
526 fetch_start = DateTime.nanoTime();
527 return scanner.nextRows().addCallback(this).addErrback(new ErrorCb());
528 }
529
530 /**
531 * Iterate through each row of the scanner results, parses out data

Callers 2

scanHistogramMethod · 0.95
callMethod · 0.95

Calls 1

nanoTimeMethod · 0.95

Tested by

no test coverage detected