Package org.jppf.server.node.remote
Class AbstractRemoteNode
java.lang.Object
org.jppf.utils.concurrent.ThreadSynchronization
org.jppf.node.AbstractNode
org.jppf.server.node.AbstractCommonNode
org.jppf.server.node.JPPFNode
org.jppf.server.node.remote.AbstractRemoteNode
- All Implemented Interfaces:
Runnable,EventListener,org.jppf.comm.recovery.HeartbeatConnectionListener,org.jppf.execute.async.ExecutionManagerListener,org.jppf.node.Node,org.jppf.node.NodeInternal,org.jppf.server.node.ClassLoaderProvider
- Direct Known Subclasses:
JPPFRemoteNode
public abstract class AbstractRemoteNode
extends org.jppf.server.node.JPPFNode
implements org.jppf.comm.recovery.HeartbeatConnectionListener
Instances of this class encapsulate execution nodes.
- Since:
- 5.1
- Author:
- Laurent Cohen
-
Field Summary
Fields inherited from class org.jppf.server.node.AbstractCommonNode
classLoaderManager, reconnectionNotificationFields inherited from class org.jppf.node.AbstractNode
configuration, helper, hookFactory, jmxEnabled, jmxServer, lifeCycleEventHandler, nodeConnection, nodeIO, serializer, systemInformation, uuidFields inherited from class org.jppf.utils.concurrent.ThreadSynchronization
stopped -
Constructor Summary
ConstructorsConstructorDescriptionAbstractRemoteNode(String uuid, org.jppf.utils.TypedProperties configuration, org.jppf.node.connection.DriverConnectionInfo connectionInfo, org.jppf.utils.hooks.HookFactory hookFactory) Default constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidheartbeatConnectionFailed(org.jppf.comm.recovery.HeartbeatConnectionEvent event) protected abstract voidCreate and initialize theclass loader manager.voidbooleanisLocal()Methods inherited from class org.jppf.server.node.JPPFNode
bundleExecuted, getClassLoader, getHandshakeUuidPath, getJobWriter, getNodeConfigNotifier, getSlaveManager, init, initHelper, run, stopNode, triggerConfigChangedMethods inherited from class org.jppf.server.node.AbstractCommonNode
cancelPendingAction, getClassLoader, getClassLoaderManager, getContainer, getExecutionManager, getJmxServer, getNodeAdmin, getPendingAction, getReconnectionNotification, getSerializationExecutor, hasPendingAction, isExecuting, isOffline, isRestart, isShutdownRequested, isStartedFromMain, isSuspended, requestResourceCacheReset, resetTaskClassLoader, setClassLoader, setExecuting, setNodeAdmin, setPendingAction, setReconnectionNotification, setStartedFromMain, setSuspended, setupBundleParameters, shutdown, stopJmxServerMethods inherited from class org.jppf.node.AbstractNode
getConfiguration, getExecutedTaskCount, getHelper, getHookFactory, getJPPFClassLoader, getLifeCycleEventHandler, getManagementInfo, getMasterNodeUuid, getNodeConnection, getNodeIO, getShuttingDown, getSystemInformation, getUuid, isJmxEnabled, isMasterNode, isSlaveNode, setExecutedTaskCount, setJPPFClassLoader, updateSystemInformationMethods inherited from class org.jppf.utils.concurrent.ThreadSynchronization
goToSleep, goToSleep, goToSleep, isStopped, setStopped, wakeUpMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jppf.node.Node
isAndroid, isDotnetCapable
-
Constructor Details
-
AbstractRemoteNode
public AbstractRemoteNode(String uuid, org.jppf.utils.TypedProperties configuration, org.jppf.node.connection.DriverConnectionInfo connectionInfo, org.jppf.utils.hooks.HookFactory hookFactory) Default constructor.- Parameters:
uuid- this node's uuid.configuration- the configuration of this node.connectionInfo- the server connection information.hookFactory- used to create and invoke hook instances.
-
-
Method Details
-
initClassLoaderManager
protected abstract void initClassLoaderManager()Create and initialize theclass loader manager. -
initDataChannel
- Specified by:
initDataChannelin interfaceorg.jppf.node.NodeInternal- Throws:
Exception
-
closeDataChannel
- Specified by:
closeDataChannelin interfaceorg.jppf.node.NodeInternal- Throws:
Exception
-
heartbeatConnectionFailed
public void heartbeatConnectionFailed(org.jppf.comm.recovery.HeartbeatConnectionEvent event) - Specified by:
heartbeatConnectionFailedin interfaceorg.jppf.comm.recovery.HeartbeatConnectionListener
-
isLocal
public boolean isLocal()- Specified by:
isLocalin interfaceorg.jppf.node.Node
-