Class NodeDebug

java.lang.Object
org.jppf.node.debug.NodeDebug
All Implemented Interfaces:
Serializable, NodeDebugMBean

public class NodeDebug extends Object implements NodeDebugMBean
Author:
Laurent Cohen
See Also:
  • Constructor Details

    • NodeDebug

      public NodeDebug(org.jppf.node.Node node)
      Parameters:
      node - the debugged node.
  • Method Details

    • log

      public void log(String... messages)
      Description copied from interface: NodeDebugMBean
      Print the specified messages to the server's log.
      Specified by:
      log in interface NodeDebugMBean
      Parameters:
      messages - the messages ot print.
    • cancel

      public void cancel()
      Description copied from interface: NodeDebugMBean
      Cancel the currently executing job, if any.
      Specified by:
      cancel in interface NodeDebugMBean
    • executeScript

      public Object executeScript(String language, String script) throws org.jppf.scripting.JPPFScriptingException
      Description copied from interface: NodeDebugMBean
      Execute the specified script.
      Specified by:
      executeScript in interface NodeDebugMBean
      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: NodeDebugMBean
      Force the node to disconnect, then reconnect.
      Specified by:
      reconnectNode in interface NodeDebugMBean