@PrivateApi public class Node extends Object
Modifier and Type | Class and Description |
---|---|
class |
Node.NodeShutdownHookThread |
Modifier and Type | Field and Description |
---|---|
Address |
address |
com.hazelcast.client.impl.ClientEngineImpl |
clientEngine |
com.hazelcast.internal.cluster.impl.ClusterServiceImpl |
clusterService |
com.hazelcast.internal.dynamicconfig.DynamicConfigurationAwareConfig |
config |
ConnectionManager |
connectionManager |
DiscoveryService |
discoveryService |
HazelcastInstanceImpl |
hazelcastInstance |
LoggingServiceImpl |
loggingService |
com.hazelcast.internal.cluster.impl.MulticastService |
multicastService |
com.hazelcast.spi.impl.NodeEngineImpl |
nodeEngine |
com.hazelcast.internal.partition.impl.InternalPartitionServiceImpl |
partitionService |
SecurityContext |
securityContext |
com.hazelcast.internal.ascii.TextCommandServiceImpl |
textCommandService |
Constructor and Description |
---|
Node(HazelcastInstanceImpl hazelcastInstance,
Config staticConfig,
NodeContext nodeContext) |
Modifier and Type | Method and Description |
---|---|
void |
changeNodeStateToActive() |
void |
changeNodeStateToPassive() |
com.hazelcast.internal.cluster.impl.ConfigCheck |
createConfigCheck() |
DiscoveryService |
createDiscoveryService(DiscoveryConfig discoveryConfig,
Member localMember) |
com.hazelcast.internal.cluster.impl.JoinRequest |
createJoinRequest(boolean withCredentials) |
com.hazelcast.internal.cluster.impl.SplitBrainJoinMessage |
createSplitBrainJoinMessage() |
BuildInfo |
getBuildInfo() |
com.hazelcast.internal.cluster.impl.ClusterServiceImpl |
getClusterService() |
Config |
getConfig() |
ClassLoader |
getConfigClassLoader() |
ConnectionManager |
getConnectionManager() |
DiscoveryService |
getDiscoveryService() |
Joiner |
getJoiner() |
MemberImpl |
getLocalMember() |
ILogger |
getLogger(Class clazz) |
ILogger |
getLogger(String name) |
com.hazelcast.internal.management.ManagementCenterService |
getManagementCenterService() |
Address |
getMasterAddress() |
com.hazelcast.spi.impl.NodeEngineImpl |
getNodeEngine() |
NodeExtension |
getNodeExtension() |
com.hazelcast.internal.partition.InternalPartitionService |
getPartitionService() |
HazelcastProperties |
getProperties() |
SecurityService |
getSecurityService() |
com.hazelcast.internal.serialization.InternalSerializationService |
getSerializationService() |
NodeState |
getState()
Returns the node state.
|
com.hazelcast.internal.ascii.TextCommandService |
getTextCommandService() |
Address |
getThisAddress() |
String |
getThisUuid() |
MemberVersion |
getVersion()
Returns the codebase version of the node.
|
boolean |
isLiteMember() |
boolean |
isMaster() |
boolean |
isRunning()
Indicates that node is not shutting down or it has not already shut down
|
void |
join() |
void |
reset()
Resets the internal cluster-state of the Node to be able to make it ready to join a new cluster.
|
boolean |
setShuttingDown() |
void |
shutdown(boolean terminate) |
String |
toString() |
public final HazelcastInstanceImpl hazelcastInstance
public final com.hazelcast.internal.dynamicconfig.DynamicConfigurationAwareConfig config
public final com.hazelcast.spi.impl.NodeEngineImpl nodeEngine
public final com.hazelcast.client.impl.ClientEngineImpl clientEngine
public final com.hazelcast.internal.partition.impl.InternalPartitionServiceImpl partitionService
public final com.hazelcast.internal.cluster.impl.ClusterServiceImpl clusterService
public final com.hazelcast.internal.cluster.impl.MulticastService multicastService
public final DiscoveryService discoveryService
public final com.hazelcast.internal.ascii.TextCommandServiceImpl textCommandService
public final LoggingServiceImpl loggingService
public final ConnectionManager connectionManager
public final Address address
public final SecurityContext securityContext
public Node(HazelcastInstanceImpl hazelcastInstance, Config staticConfig, NodeContext nodeContext)
public DiscoveryService createDiscoveryService(DiscoveryConfig discoveryConfig, Member localMember)
public com.hazelcast.internal.management.ManagementCenterService getManagementCenterService()
public com.hazelcast.internal.serialization.InternalSerializationService getSerializationService()
public com.hazelcast.internal.cluster.impl.ClusterServiceImpl getClusterService()
public com.hazelcast.internal.partition.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 HazelcastProperties getProperties()
public com.hazelcast.internal.ascii.TextCommandService getTextCommandService()
public ConnectionManager getConnectionManager()
public ClassLoader getConfigClassLoader()
public com.hazelcast.spi.impl.NodeEngineImpl getNodeEngine()
public NodeExtension getNodeExtension()
public DiscoveryService getDiscoveryService()
public com.hazelcast.internal.cluster.impl.SplitBrainJoinMessage createSplitBrainJoinMessage()
public com.hazelcast.internal.cluster.impl.JoinRequest createJoinRequest(boolean withCredentials)
public com.hazelcast.internal.cluster.impl.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 © 2018 Hazelcast, Inc.. All rights reserved.