Package org.jppf.node.debug
Class NodeDebug
java.lang.Object
org.jppf.node.debug.NodeDebug
- All Implemented Interfaces:
Serializable,NodeDebugMBean
- Author:
- Laurent Cohen
- See Also:
-
Field Summary
Fields inherited from interface org.jppf.node.debug.NodeDebugMBean
MBEAN_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcancel()Cancel the currently executing job, if any.executeScript(String language, String script) Execute the specified script.voidPrint the specified messages to the server's log.voidForce the node to disconnect, then reconnect.
-
Constructor Details
-
NodeDebug
public NodeDebug(org.jppf.node.Node node) - Parameters:
node- the debugged node.
-
-
Method Details
-
log
Description copied from interface:NodeDebugMBeanPrint the specified messages to the server's log.- Specified by:
login interfaceNodeDebugMBean- Parameters:
messages- the messages ot print.
-
cancel
public void cancel()Description copied from interface:NodeDebugMBeanCancel the currently executing job, if any.- Specified by:
cancelin interfaceNodeDebugMBean
-
executeScript
public Object executeScript(String language, String script) throws org.jppf.scripting.JPPFScriptingException Description copied from interface:NodeDebugMBeanExecute the specified script.- Specified by:
executeScriptin interfaceNodeDebugMBean- Parameters:
language- the script language.script- the script to execute.- Returns:
- the value returned by the script.
- Throws:
org.jppf.scripting.JPPFScriptingException- if an error occurs while evaluating the script.
-
reconnectNode
public void reconnectNode()Description copied from interface:NodeDebugMBeanForce the node to disconnect, then reconnect.- Specified by:
reconnectNodein interfaceNodeDebugMBean
-