Package org.jppf.admin.web.health
Class HealthTreeData
java.lang.Object
org.jppf.admin.web.tabletree.TableTreeData
org.jppf.admin.web.health.HealthTreeData
- All Implemented Interfaces:
SelectionListener
- Author:
- Laurent Cohen
-
Field Summary
Fields inherited from class org.jppf.admin.web.tabletree.TableTreeData
model -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcleanup()Free resources.protected voidCreate the tree model.org.jppf.client.monitoring.topology.TopologyListenervoidinitThresholds(org.jppf.utils.TypedProperties props) Initialize the thresholds from the specified settings.voidsetListener(org.jppf.client.monitoring.topology.TopologyListener listener) Set the topology listener.voidUpdate the threshold values from the current user settings.Methods inherited from class org.jppf.admin.web.tabletree.TableTreeData
getActionHandler, getExpansionModel, getModel, getSelectedTreeNodes, getSelectionHandler, getViewType, isFirstExpansion, selectionChanged, setActionHandler, setFirstExpansion, setSelectionHandler
-
Constructor Details
-
HealthTreeData
public HealthTreeData()
-
-
Method Details
-
getListener
public org.jppf.client.monitoring.topology.TopologyListener getListener()- Returns:
- the topology listener.
-
setListener
public void setListener(org.jppf.client.monitoring.topology.TopologyListener listener) Set the topology listener.- Parameters:
listener- the listener to set.
-
getMemoryThresholds
- Returns:
- the alert thresholds for memory values.
-
getCpuThresholds
- Returns:
- the alert thresholds for cpu values.
-
initThresholds
public void initThresholds(org.jppf.utils.TypedProperties props) Initialize the thresholds from the specified settings.- Parameters:
props- the settings to use.
-
updateThresholds
public void updateThresholds()Update the threshold values from the current user settings. -
cleanup
public void cleanup()Description copied from class:TableTreeDataFree resources.- Overrides:
cleanupin classTableTreeData
-
createTreeTableModel
protected void createTreeTableModel()Description copied from class:TableTreeDataCreate the tree model.- Specified by:
createTreeTableModelin classTableTreeData
-