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

Method runAsync

src/core/TsdbQuery.java:770–785  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

768 }
769
770 @Override
771 public Deferred<DataPoints[]> runAsync() throws HBaseException {
772 Deferred<DataPoints[]> result = null;
773
774 if (use_multi_gets && override_multi_get) {
775 result = this.findSpansWithMultiGetter().addCallback(new GroupByAndAggregateCB());
776 } else {
777 result = findSpans().addCallback(new GroupByAndAggregateCB());
778 }
779
780 if (rollup_usage != null && rollup_usage.fallback()) {
781 result.addCallback(new FallbackRollupOnEmptyResult());
782 }
783
784 return result;
785 }
786
787 @Override
788 public Deferred<DataPoints[]> runHistogramAsync() throws HBaseException {

Callers

nothing calls this directly

Calls 3

findSpansMethod · 0.95
fallbackMethod · 0.80

Tested by

no test coverage detected