public class ClusterJoinManager extends Object
Constructor and Description |
---|
ClusterJoinManager(Node node,
ClusterServiceImpl clusterService,
Lock clusterServiceLock) |
Modifier and Type | Method and Description |
---|---|
void |
answerMasterQuestion(JoinMessage joinMessage,
Connection connection) |
void |
handleJoinRequest(JoinRequest joinRequest,
Connection connection) |
void |
handleMaster(Address masterAddress,
Address callerAddress) |
boolean |
isJoinInProgress() |
boolean |
sendJoinRequest(Address toAddress,
boolean withCredentials) |
boolean |
sendMasterQuestion(Address toAddress) |
boolean |
validateJoinMessage(JoinMessage joinMessage) |
public ClusterJoinManager(Node node, ClusterServiceImpl clusterService, Lock clusterServiceLock)
public boolean isJoinInProgress()
public void handleJoinRequest(JoinRequest joinRequest, Connection connection)
public boolean validateJoinMessage(JoinMessage joinMessage) throws Exception
Exception
public boolean sendJoinRequest(Address toAddress, boolean withCredentials)
public boolean sendMasterQuestion(Address toAddress)
public void answerMasterQuestion(JoinMessage joinMessage, Connection connection)
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.