Package io.vertx.core.net.endpoint
Interface Endpoint
-
@Unstable public interface Endpoint
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ServerEndpoint
selectServer()
Select a server.ServerEndpoint
selectServer(String key)
Select a node, using a routingkey
List<ServerEndpoint>
servers()
The servers capable of serving requests for this endpoint.
-
-
-
Method Detail
-
servers
List<ServerEndpoint> servers()
The servers capable of serving requests for this endpoint.
-
selectServer
default ServerEndpoint selectServer()
Select a server.- Returns:
- the selected server
-
selectServer
ServerEndpoint selectServer(String key)
Select a node, using a routingkey
- Parameters:
key
- the routing key- Returns:
- the selected server
-
-