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 NodeEngineImpl nodeEngine
public final ClientEngineImpl clientEngine
public final InternalPartitionServiceImpl partitionService
public final ClusterServiceImpl clusterService
public final MulticastService multicastService
public final DiscoveryService discoveryService
public final ConnectionManager connectionManager
public final TextCommandServiceImpl textCommandService
public final Config config
public final GroupProperties groupProperties
public final Address address
public final MemberImpl localMember
public final HazelcastInstanceImpl hazelcastInstance
public final LoggingServiceImpl loggingService
public final SecurityContext securityContext
public Node(HazelcastInstanceImpl hazelcastInstance, Config config, NodeContext nodeContext)
public HazelcastThreadGroup getHazelcastThreadGroup()
public ManagementCenterService getManagementCenterService()
public SerializationService 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 GroupProperties getGroupProperties()
public TextCommandService getTextCommandService()
public ConnectionManager getConnectionManager()
public ClassLoader getConfigClassLoader()
public NodeEngineImpl getNodeEngine()
public NodeExtension getNodeExtension()
public void setJoined()
public JoinMessage createSplitBrainJoinMessage()
public JoinRequest createJoinRequest(boolean withCredentials)
public ConfigCheck createConfigCheck()
public void join()
public Joiner getJoiner()
public void setAsMaster()
public Config getConfig()
public NodeState getState()
public boolean isLiteMember()
public BuildInfo getBuildInfo()
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.