public interface GridClientNode
GridClientCompute.nodes() to
get a full view over remote grid nodes.| Modifier and Type | Method and Description |
|---|---|
<T> T |
attribute(String name)
Gets specific attribute of remote node.
|
Map<String,Object> |
attributes()
Gets all attributes of remote node.
|
Collection<InetSocketAddress> |
availableAddresses(GridClientProtocol proto,
boolean filterResolved)
Gets collection of addresses on which REST binary protocol is bound.
|
Map<String,GridClientCacheMode> |
caches()
Gets all configured caches and their types on remote node.
|
boolean |
connectable()
Indicates whether client can establish direct connection with this node.
|
Object |
consistentId()
Gets consistent globally unique node ID.
|
GridClientNodeMetrics |
metrics()
Gets various dynamic metrics of remote node.
|
UUID |
nodeId()
Gets ID of a remote node.
|
long |
order()
Node order within grid topology.
|
List<String> |
tcpAddresses()
Gets list of REST TCP server addresses of remote node.
|
List<String> |
tcpHostNames()
Gets list of REST TCP server host names of remote node.
|
int |
tcpPort()
Gets client TCP port of remote node.
|
UUID nodeId()
Object consistentId()
nodeId() method,
this method returns consistent node ID which survives node restarts.List<String> tcpAddresses()
List<String> tcpHostNames()
int tcpPort()
Map<String,Object> attributes()
@Nullable <T> T attribute(String name)
name - Attribute name.attributes()GridClientNodeMetrics metrics()
Map<String,GridClientCacheMode> caches()
Collection<InetSocketAddress> availableAddresses(GridClientProtocol proto, boolean filterResolved)
proto - Protocol for which addresses are obtained.filterResolved - Whether to filter resolved addresses ( InetSocketAddress.isUnresolved()
returns False ) or not.boolean connectable()
true if node can be directly connected,
false if request may be passed through a router.long order()
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.8.0 Release Date : February 27 2020