MCPcopy Index your code
hub / github.com/OpenTSDB/async / recordCompletion

Method recordCompletion

src/DeferredGroup.java:135–144  ·  view source on GitHub ↗

Called back when one of the Deferred in the group completes. @param result The result of the deferred.

(final Object result)

Source from the content-addressed store, hash-verified

133 * @param result The result of the deferred.
134 */
135 private void recordCompletion(final Object result) {
136 int left;
137 synchronized (this) {
138 results.add(result);
139 left = --nresults;
140 }
141 if (left == 0) {
142 done();
143 }
144 }
145
146 /**
147 * Called back when one of the {@link Deferred} in the group completes.

Callers 2

callMethod · 0.80
callMethod · 0.80

Calls 1

doneMethod · 0.95

Tested by

no test coverage detected