Class Endpoint
- java.lang.Object
-
- io.vertx.reactivex.core.net.endpoint.Endpoint
-
public class Endpoint extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static io.vertx.lang.rx.TypeArg<Endpoint>
__TYPE_ARG
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Endpoint
getDelegate()
int
hashCode()
static Endpoint
newInstance(Endpoint arg)
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.String
toString()
-
-
-
Field Detail
-
__TYPE_ARG
public static final io.vertx.lang.rx.TypeArg<Endpoint> __TYPE_ARG
-
-
Method Detail
-
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 routingkey
- Parameters:
key
- the routing key- Returns:
- the selected server
-
-