Interface ClusterJoinRequest
@ParametersAreNonnullByDefault
public interface ClusterJoinRequest
A request for a cluster join check
- Since:
- 7.17.3
-
Method Summary
-
Method Details
-
getHazelcast
com.hazelcast.core.HazelcastInstance getHazelcast()- Returns:
- the Hazelcast instance
-
getJoinMode
ClusterJoinMode getJoinMode()- Returns:
ClusterJoinMode.CONNECT
if this node initiated the connection to another node orClusterJoinMode.ACCEPT
if the other node initiated the connection
-
getLocalAddress
String getLocalAddress()Returns the address of the local node.- Returns:
- a string representation of the remote address, can be an IP v4 or v6
-
getLocalPort
int getLocalPort()Returns the local port.- Returns:
- the port number on the local node
-
getRemoteAddress
String getRemoteAddress()Returns the address of the remote node.- Returns:
- a string representation of the remote address, can be an IP v4 or v6
-
getRemotePort
int getRemotePort()Returns the remote port.- Returns:
- the port number on the remote node
-
in
com.hazelcast.nio.ObjectDataInput in()- Returns:
- input to be read from the remote node
-
out
com.hazelcast.nio.ObjectDataOutput out()- Returns:
- output to be written to the remote node
-