@PrivateApi public class Node extends Object
Modifier and Type | Class and Description |
---|---|
class |
Node.NodeShutdownHookThread |
Modifier and Type | Field and Description |
---|---|
Address |
address
Member-to-member address only.
|
ClientEngine |
clientEngine |
ClusterServiceImpl |
clusterService |
DynamicConfigurationAwareConfig |
config |
DiscoveryService |
discoveryService |
HazelcastInstanceImpl |
hazelcastInstance |
LoggingServiceImpl |
loggingService |
MulticastService |
multicastService |
NetworkingService |
networkingService |
NodeEngineImpl |
nodeEngine |
InternalPartitionServiceImpl |
partitionService |
SecurityContext |
securityContext |
TextCommandService |
textCommandService |
Constructor and Description |
---|
Node(HazelcastInstanceImpl hazelcastInstance,
Config staticConfig,
NodeContext nodeContext) |
public final HazelcastInstanceImpl hazelcastInstance
public final DynamicConfigurationAwareConfig config
public final NodeEngineImpl nodeEngine
public final ClientEngine clientEngine
public final InternalPartitionServiceImpl partitionService
public final ClusterServiceImpl clusterService
public final MulticastService multicastService
public final DiscoveryService discoveryService
public final TextCommandService textCommandService
public final LoggingServiceImpl loggingService
public final NetworkingService networkingService
public final Address address
ProtocolType.MEMBER
For accessing a full address-map, see AddressPicker.getPublicAddressMap()
public final SecurityContext securityContext
public Node(HazelcastInstanceImpl hazelcastInstance, Config staticConfig, NodeContext nodeContext)
public DiscoveryService createDiscoveryService(DiscoveryConfig discoveryConfig, List<DiscoveryStrategyConfig> aliasedDiscoveryConfigs, Member localMember)
public ManagementCenterService getManagementCenterService()
public InternalSerializationService getSerializationService()
public ClusterServiceImpl getClusterService()
public InternalPartitionService getPartitionService()
public Address getMasterAddress()
public Address getThisAddress()
public MemberImpl getLocalMember()
public boolean isMaster()
public SecurityService getSecurityService()
public void shutdown(boolean terminate)
public boolean setShuttingDown()
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 LoggingService getLoggingService()
public HazelcastProperties getProperties()
public TextCommandService getTextCommandService()
public NetworkingService getNetworkingService()
public EndpointManager getEndpointManager()
public <T extends Connection> EndpointManager<T> getEndpointManager(EndpointQualifier qualifier)
public ClassLoader getConfigClassLoader()
public NodeEngineImpl getNodeEngine()
public ClientEngine getClientEngine()
public NodeExtension getNodeExtension()
public DiscoveryService getDiscoveryService()
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 © 2019 Hazelcast, Inc.. All Rights Reserved.