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

Method done

src/tsd/HttpQuery.java:685–691  ·  view source on GitHub ↗

Method to call after writing the HTTP response to the wire.

()

Source from the content-addressed store, hash-verified

683 * Method to call after writing the HTTP response to the wire.
684 */
685 @Override
686 public void done() {
687 final int processing_time = processingTimeMillis();
688 httplatency.add(processing_time);
689 logInfo("HTTP " + request().getUri() + " done in " + processing_time + "ms");
690 deferred.callback(null);
691 }
692
693 /**
694 * Sends an HTTP reply to the client.

Callers 2

sendFileMethod · 0.95
operationCompleteMethod · 0.95

Calls 4

processingTimeMillisMethod · 0.80
addMethod · 0.45
logInfoMethod · 0.45
requestMethod · 0.45

Tested by

no test coverage detected