Examples of UpstreamInfo


Examples of com.hubspot.baragon.models.UpstreamInfo

      if (maybeFirstPort.isPresent()) {
        String upstream = String.format("%s:%d", task.getOffer().getHostname(), maybeFirstPort.get());
        String rackId = task.getTaskId().getRackId();

        upstreams.add(new UpstreamInfo(upstream, Optional.of(requestId), Optional.fromNullable(rackId)));
      } else {
        LOG.warn("Task {} is missing port but is being passed to LB  ({})", task.getTaskId(), task);
      }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.