Package org.jppf.node
Interface NodeInternal
- All Superinterfaces:
org.jppf.node.Node,Runnable
- All Known Implementing Classes:
AbstractCommonNode,AbstractNode,JPPFNode
public interface NodeInternal
extends org.jppf.node.Node
Internal interface for methods of a node that shoudln't be exposed in the public API.
- Author:
- Laurent Cohen
-
Method Summary
Modifier and TypeMethodDescriptionvoidInitialize this node's data channel.Get the service that manages the class loaders and how they are used.org.jppf.execute.async.AsyncExecutionManagerGet the task execution manager for this node.default org.jppf.management.JMXServerGet the JMX connector server associated with the node.Get the object that manages the node life cycle events.Get the connection used by this node.voidInitialize this node's data channel.voidstopNode()Stop this node and release the resources it is using.Methods inherited from interface org.jppf.node.Node
getConfiguration, getExecutedTaskCount, getManagementInfo, getMasterNodeUuid, getSystemInformation, getUuid, isAndroid, isDotnetCapable, isLocal, isMasterNode, isOffline, isSlaveNode, resetTaskClassLoader
-
Method Details
-
getNodeConnection
NodeConnection<?> getNodeConnection()Get the connection used by this node.- Returns:
- a
NodeConnectioninstance.
-
stopNode
void stopNode()Stop this node and release the resources it is using. -
getLifeCycleEventHandler
LifeCycleEventHandler getLifeCycleEventHandler()Get the object that manages the node life cycle events.- Returns:
- a
LifeCycleEventHandlerinstance.
-
getExecutionManager
org.jppf.execute.async.AsyncExecutionManager getExecutionManager()Get the task execution manager for this node.- Returns:
- a
ExecutionManagerinstance.
-
getJmxServer
Get the JMX connector server associated with the node.The default implementation throws a
JPPFUnsupportedOperationException. It is up to concrete implementations to override it.- Returns:
- a JMXServer instance.
- Throws:
Exception- if any error occurs.
-
initDataChannel
Initialize this node's data channel.- Throws:
Exception- if an error is raised during initialization.
-
closeDataChannel
Initialize this node's data channel.- Throws:
Exception- if an error is raised during initialization.
-
getClassLoaderManager
AbstractClassLoaderManager<?> getClassLoaderManager()Get the service that manages the class loaders and how they are used.- Returns:
- an
AbstractClassLoaderManagerinstance.
-
getNodeConfigNotifier
NodeConfigNotifier getNodeConfigNotifier()- Returns:
- the mbean which sends notifications of configuration changes.
-