Class Endpoint


  • public class Endpoint
    extends Object
    • Field Detail

      • __TYPE_ARG

        public static final io.vertx.lang.rx.TypeArg<Endpoint> __TYPE_ARG
    • Constructor Detail

      • Endpoint

        public Endpoint​(Endpoint delegate)
      • Endpoint

        public Endpoint​(Object delegate)
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getDelegate

        public Endpoint getDelegate()
      • servers

        public List<ServerEndpoint> servers()
        The servers capable of serving requests for this endpoint.
        Returns:
      • selectServer

        public ServerEndpoint selectServer()
        Select a server.
        Returns:
        the selected server
      • selectServer

        public ServerEndpoint selectServer​(String key)
        Select a node, using a routing key
        Parameters:
        key - the routing key
        Returns:
        the selected server