void function ( int arg0 ) { checkState ( ! armed , "srini_string" ) ; expectedPromises . addAndGet ( arg0 ) ; }
add the number of count to the count of expected promises . concode_field_sep AtomicInteger expectedPromises concode_elem_sep boolean armed concode_elem_sep Set<Promise<V>> pendingPromises concode_elem_sep AtomicInteger processedPromises concode_elem_sep Promise<?> aggregatePromise concode_field_sep Promise<Boolean> toBooleanPromise concode_elem_sep PromiseAggregator<V,F> add concode_elem_sep void arm concode_elem_sep void operationComplete