MCPcopy Create free account
hub / github.com/OpenTSDB/opentsdb / markSendFailed

Method markSendFailed

src/stats/QueryStats.java:387–391  ·  view source on GitHub ↗

Leaves the sent_to_client field as false when we were unable to write to the client end point.

()

Source from the content-addressed store, hash-verified

385 /** Leaves the sent_to_client field as false when we were unable to write to
386 * the client end point. */
387 public void markSendFailed() {
388 overall_stats.put(QueryStat.TOTAL_TIME, DateTime.nanoTime() - query_start_ns);
389 LOG.info("Completing query=" + JSON.serializeToString(this));
390 QUERY_LOG.info(this.toString());
391 }
392
393 /**
394 * Builds a serializable map from the running and cached query maps to be

Callers 3

sendStatusOnlyMethod · 0.80
sendBufferMethod · 0.80
operationCompleteMethod · 0.80

Calls 4

nanoTimeMethod · 0.95
serializeToStringMethod · 0.95
toStringMethod · 0.95
putMethod · 0.80

Tested by

no test coverage detected