Interface NodeDebugMBean

All Superinterfaces:
Serializable
All Known Implementing Classes:
NodeDebug

public interface NodeDebugMBean extends Serializable
Author:
Laurent Cohen
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    The name of this mbean.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Cancel the currently executing job, if any.
    executeScript(String language, String script)
    Execute the specified script.
    void
    log(String... messages)
    Print the specified messages to the server's log.
    void
    Force the node to disconnect, then reconnect.
  • Field Details

  • Method Details

    • log

      void log(String... messages)
      Print the specified messages to the server's log.
      Parameters:
      messages - the messages ot print.
    • cancel

      void cancel()
      Cancel the currently executing job, if any.
    • executeScript

      Object executeScript(String language, String script) throws org.jppf.scripting.JPPFScriptingException
      Execute the specified script.
      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

      void reconnectNode()
      Force the node to disconnect, then reconnect.