code: private void findDeploymentAddress(final String deploymentID, Handler<AsyncResult<String>> resultHandler) {
      context.execute(new Action<String>() {
        @Override
        public String perform() {
          synchronized (deployments) {
            JsonObject locatedInfo = null;
            Collection<String> sdeploymentsInfo = deployments.get(cluster);
            for (String sdeploymentInfo : sdeploymentsInfo) {
              JsonObject deploymentInfo = new JsonObject(sdeploymentInfo);
              if (deploymentInfo.getString("id").equals(deploymentID)) {
                locatedInfo = deploymentInfo;
                break;
              }
            }
            if (locatedInfo != null) {
              return locatedInfo.getString("address");
            }
            return null;
          }
        }
      }, resultHandler);
    }
docs: Locates the internal address of the node on which a deployment is deployed.