code: private void updateComponents(Collection<ComponentContext<?>> components, final CountingCompletionHandler<Void> complete) {
      for (final ComponentContext<?> component : components) {
        final CountingCompletionHandler<Void> counter = new CountingCompletionHandler<Void>(component.instances().size());
        counter.setHandler(new Handler<AsyncResult<Void>>() {
          @Override
          public void handle(AsyncResult<Void> result) {
            if (result.failed()) {
              complete.fail(result.cause());
            } else {
              complete.succeed();
            }
          }
        });
        updateInstances(component.instances(), counter);
      }
    }
docs: Updates all network components.