Package org.jppf.ui.utils
Class HealthUtils
java.lang.Object
org.jppf.ui.utils.HealthUtils
- Author:
- Laurent Cohen
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetThreadDumpTitle(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.static StringlocalizeThreadDumpInfo(String key, Locale locale) Localize the specified key in the thread dump page.static org.jppf.management.diagnostics.ThreadDumpretrieveThreadDump(org.jppf.client.monitoring.topology.AbstractTopologyComponent data) Retrieve the thread dump for the specified topology object.
-
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
JPPFSystemInformationornullif 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
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.
-