com.hazelcast.instance
Class Node

java.lang.Object
  extended by com.hazelcast.instance.Node

public class Node
extends Object


Nested Class Summary
 class Node.NodeShutdownHookThread
           
 
Field Summary
 Address address
           
 ClientEngineImpl clientEngine
           
 ClusterServiceImpl clusterService
           
 Config config
           
 ConnectionManager connectionManager
           
 GroupProperties groupProperties
           
 HazelcastInstanceImpl hazelcastInstance
           
 MemberImpl localMember
           
 LoggingServiceImpl loggingService
           
 MulticastService multicastService
           
 NodeEngineImpl nodeEngine
           
 InternalPartitionService partitionService
           
 SecurityContext securityContext
           
 TextCommandServiceImpl textCommandService
           
 ThreadGroup threadGroup
           
 
Constructor Summary
Node(HazelcastInstanceImpl hazelcastInstance, Config config, NodeContext nodeContext)
           
 
Method Summary
 ConfigCheck createConfigCheck()
           
 JoinRequest createJoinRequest()
           
 JoinRequest createJoinRequest(boolean withCredentials)
           
 BuildInfo getBuildInfo()
           
 ClusterServiceImpl getClusterService()
           
 Config getConfig()
           
 ClassLoader getConfigClassLoader()
           
 ConnectionManager getConnectionManager()
           
 GroupProperties getGroupProperties()
           
 Joiner getJoiner()
           
 MemberImpl getLocalMember()
           
 ILogger getLogger(Class clazz)
           
 ILogger getLogger(String name)
           
 ManagementCenterService getManagementCenterService()
           
 Address getMasterAddress()
           
 String getName()
           
 NodeEngineImpl getNodeEngine()
           
 NodeExtension getNodeExtension()
           
 InternalPartitionService getPartitionService()
           
 SerializationService getSerializationService()
           
 TextCommandService getTextCommandService()
           
 Address getThisAddress()
           
 String getThreadNamePrefix(String name)
           
 String getThreadPoolNamePrefix(String poolName)
           
 void inactivate()
           
 boolean isActive()
           
 boolean isMaster()
           
 void join()
           
 boolean joined()
           
 void onRestart()
           
 void rejoin()
           
 void setActive(boolean active)
           
 void setAsMaster()
           
 void setJoined()
           
 void setMasterAddress(Address master)
           
 void shutdown(boolean terminate)
           
 void start()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

nodeEngine

public final NodeEngineImpl nodeEngine

clientEngine

public final ClientEngineImpl clientEngine

partitionService

public final InternalPartitionService partitionService

clusterService

public final ClusterServiceImpl clusterService

multicastService

public final MulticastService multicastService

connectionManager

public final ConnectionManager connectionManager

textCommandService

public final TextCommandServiceImpl textCommandService

config

public final Config config

groupProperties

public final GroupProperties groupProperties

address

public final Address address

localMember

public final MemberImpl localMember

hazelcastInstance

public final HazelcastInstanceImpl hazelcastInstance

loggingService

public final LoggingServiceImpl loggingService

securityContext

public final SecurityContext securityContext

threadGroup

public final ThreadGroup threadGroup
Constructor Detail

Node

public Node(HazelcastInstanceImpl hazelcastInstance,
            Config config,
            NodeContext nodeContext)
Method Detail

getManagementCenterService

public ManagementCenterService getManagementCenterService()

getSerializationService

public SerializationService getSerializationService()

getClusterService

public ClusterServiceImpl getClusterService()

getPartitionService

public InternalPartitionService getPartitionService()

getMasterAddress

public Address getMasterAddress()

getThisAddress

public Address getThisAddress()

getLocalMember

public MemberImpl getLocalMember()

getName

public String getName()

getThreadNamePrefix

public String getThreadNamePrefix(String name)

getThreadPoolNamePrefix

public String getThreadPoolNamePrefix(String poolName)

joined

public boolean joined()

isMaster

public boolean isMaster()

setMasterAddress

public void setMasterAddress(Address master)

start

public void start()

shutdown

public void shutdown(boolean terminate)

onRestart

public void onRestart()

getLogger

public ILogger getLogger(String name)

getLogger

public ILogger getLogger(Class clazz)

getGroupProperties

public GroupProperties getGroupProperties()

getTextCommandService

public TextCommandService getTextCommandService()

getConnectionManager

public ConnectionManager getConnectionManager()

inactivate

public void inactivate()

getConfigClassLoader

public ClassLoader getConfigClassLoader()

getNodeEngine

public NodeEngineImpl getNodeEngine()

getNodeExtension

public NodeExtension getNodeExtension()

setJoined

public void setJoined()

createJoinRequest

public JoinRequest createJoinRequest()

createJoinRequest

public JoinRequest createJoinRequest(boolean withCredentials)

createConfigCheck

public ConfigCheck createConfigCheck()

rejoin

public void rejoin()

join

public void join()

getJoiner

public Joiner getJoiner()

setAsMaster

public void setAsMaster()

getConfig

public Config getConfig()

setActive

public void setActive(boolean active)
Parameters:
active - the active to set

isActive

public boolean isActive()
Returns:
the active

toString

public String toString()
Overrides:
toString in class Object

getBuildInfo

public BuildInfo getBuildInfo()


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.