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

Method execGnuplot

src/tsd/GraphHandler.java:294–301  ·  view source on GitHub ↗
(RunGnuplot rungnuplot, HttpQuery query)

Source from the content-addressed store, hash-verified

292 }
293
294 private void execGnuplot(RunGnuplot rungnuplot, HttpQuery query) {
295 try {
296 gnuplot.execute(rungnuplot);
297 } catch (RejectedExecutionException e) {
298 query.internalError(new Exception("Too many requests pending,"
299 + " please try again later", e));
300 }
301 }
302
303 /**
304 * Decides how long we're going to allow the client to cache our response.

Callers 2

doGraphMethod · 0.95
callMethod · 0.80

Calls 2

executeMethod · 0.65
internalErrorMethod · 0.45

Tested by

no test coverage detected