Class HealthUtils

java.lang.Object
org.jppf.ui.utils.HealthUtils

public class HealthUtils extends Object
Author:
Laurent Cohen
  • Constructor Details

    • HealthUtils

      public HealthUtils()
  • Method Details

    • retrieveThreadDump

      public static org.jppf.management.diagnostics.ThreadDump retrieveThreadDump(org.jppf.client.monitoring.topology.AbstractTopologyComponent data)
      Retrieve the thread dump for the specified topology object.
      Parameters:
      data - the topology object for which to get the information.
      Returns:
      a JPPFSystemInformation or null if the information could not be retrieved.
    • getThreadDumpTitle

      public static String getThreadDumpTitle(org.jppf.client.monitoring.topology.AbstractTopologyComponent comp, Locale locale)
      Generate the localized title for the sthread dump popup dialog/window for a given topology component.
      Parameters:
      comp - the the topology object for which to get the information.
      locale - the locale to display the title in.
      Returns:
      a localized string.
    • localizeThreadDumpInfo

      public static String localizeThreadDumpInfo(String key, Locale locale)
      Localize the specified key in the thread dump page.
      Parameters:
      key - the key to localize.
      locale - the locale to use.
      Returns:
      the localized string for the key.