@PrivateApi public class Node extends Object
Modifier and Type | Class and Description |
---|---|
class |
Node.NodeShutdownHookThread |
Constructor and Description |
---|
Node(HazelcastInstanceImpl hazelcastInstance,
Config config,
NodeContext nodeContext) |
public final HazelcastInstanceImpl hazelcastInstance
public final Config config
public final NodeEngineImpl nodeEngine
public final ClientEngineImpl clientEngine
public final InternalPartitionServiceImpl partitionService
public final ClusterServiceImpl clusterService
public final MulticastService multicastService
public final DiscoveryService discoveryService
public final TextCommandServiceImpl textCommandService
public final LoggingServiceImpl loggingService
public final ConnectionManager connectionManager
public final Address address
public final SecurityContext securityContext
public Node(HazelcastInstanceImpl hazelcastInstance, Config config, NodeContext nodeContext)
public ManagementCenterService getManagementCenterService()
public InternalSerializationService getSerializationService()
public ClusterServiceImpl getClusterService()
public InternalPartitionService getPartitionService()
public Address getMasterAddress()
public Address getThisAddress()
public MemberImpl getLocalMember()
public boolean joined()
public boolean isMaster()
public void setMasterAddress(Address master)
public void shutdown(boolean terminate)
public boolean isRunning()
public void changeNodeStateToActive()
public void changeNodeStateToPassive()
public void reset()
join()
.
This method is called during merge process after a split-brain is detected.public HazelcastProperties getProperties()
public TextCommandService getTextCommandService()
public ConnectionManager getConnectionManager()
public ClassLoader getConfigClassLoader()
public NodeEngineImpl getNodeEngine()
public NodeExtension getNodeExtension()
public DiscoveryService getDiscoveryService()
public void setJoined()
public SplitBrainJoinMessage createSplitBrainJoinMessage()
public JoinRequest createJoinRequest(boolean withCredentials)
public ConfigCheck createConfigCheck()
public void join()
public Joiner getJoiner()
public String getThisUuid()
public Config getConfig()
public NodeState getState()
public MemberVersion getVersion()
public boolean isLiteMember()
public BuildInfo getBuildInfo()
Copyright © 2017 Hazelcast, Inc.. All Rights Reserved.