Interface ServerDebugMBean

All Superinterfaces:
Serializable
All Known Implementing Classes:
ServerDebug

public interface ServerDebugMBean extends Serializable
Author:
Laurent Cohen
  • Field Details

  • Method Details

    • clientClassLoaderChannels

      String clientClassLoaderChannels()
      Get the states of the class loader channels.
      Returns:
      the states as as an array of strings.
    • nodeClassLoaderChannels

      String nodeClassLoaderChannels()
      Get the states of the class loader channels.
      Returns:
      the states as as an array of strings.
    • nodeDataChannels

      String nodeDataChannels()
      Get the states of the node data channels.
      Returns:
      the states as as an array of strings.
    • clientDataChannels

      String clientDataChannels()
      Get the states of the client data channels.
      Returns:
      the states as as an array of strings.
    • allChannels

      String allChannels()
      Get the states of all channels.
      Returns:
      the states as as an array of strings.
    • dumpQueue

      String dumpQueue()
      Dump the job queue.
      Returns:
      a string representing the job queue.
    • dumpQueueDetails

      String dumpQueueDetails()
      Dump the job queue with fine details of the jobs.
      Returns:
      a string representing the job queue.
    • dumpQueueDetailsFromPriorityMap

      String dumpQueueDetailsFromPriorityMap()
      Dump the job queue with fine details of the jobs.
      Returns:
      a string representing the job queue.
    • all

      String all()
      View all debug info in a formatted string.
      Returns:
      a string representing all the debug information.
    • taskQueueCheckerChannels

      String taskQueueCheckerChannels()
      View all idle channels held by the org.jppf.server.nio.nodeserver.TaskQueueChecker.
      Returns:
      a string representing the idle channels.
    • showResultsMap

      String showResultsMap()
      Show the multimap of job uuids to the positions of tasks that have completed.
      Returns:
      a string representation of the multimap.
    • getJobNotifCount

      int getJobNotifCount()
      Get the current count of job life cycle notifications.
      Returns:
      the count as an int.
    • getJobNotifPeak

      int getJobNotifPeak()
      Get the peak count of job life cycle notifications.
      Returns:
      the count as an int.
    • getAllReservations

      Map<String,Set<String>> getAllReservations()
      Get all the current reservations.
      Returns:
      an array of job uuids.
    • getReservedJobs

      String[] getReservedJobs()
      Get the jobs for which at least one node is reserved.
      Returns:
      an array of job uuids.
    • getReservedNodes

      String[] getReservedNodes()
      Get the nodes reserved for a job.
      Returns:
      an array of job uuids.
    • log

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

      void log(String message)
      Print the specified message to the server's log.
      Parameters:
      message - the message to print.
    • 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.
    • startProfiling

      void startProfiling()
      Trigger method for the profiler to start profiling.
    • endProfiling

      void endProfiling()
      Trigger method for the profiler to stop profiling.
    • getClientJobEntryStats

      String getClientJobEntryStats()
      Returns:
      some statistics on the job entries in the client connections.
    • allClientJobEntries

      List<String> allClientJobEntries()
      Returns:
      information on all client job entries currently in the driver.