Class MonitoringNodeService
java.lang.Object
sk.iway.iwcm.components.monitoring.rest.MonitoringNodeService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAll()
Based on request values "showType" and "selectedNode", return list of corresponding data's.Return list of all nodes, only if isServerRunningInClusterMode.Returns last update of data for remote nodes or NULL if there are no data or node is localstatic void
refreshData
(String selectedNode) Refresh data for specific node, only if node ISN'T actualstatic void
Do reset data (remove local data), ONLY for actual node, and for selected show type (node is checked that is current).
-
Constructor Details
-
MonitoringNodeService
public MonitoringNodeService(javax.servlet.http.HttpServletRequest request)
-
-
Method Details
-
getAll
Based on request values "showType" and "selectedNode", return list of corresponding data's.- Returns:
- List
-
getLastUpdate
Returns last update of data for remote nodes or NULL if there are no data or node is local- Returns:
-
getAllNodes
Return list of all nodes, only if isServerRunningInClusterMode. The current node will be always on 1st place.- Returns:
-
resetData
Do reset data (remove local data), ONLY for actual node, and for selected show type (node is checked that is current).- Parameters:
actualShowType
-selectedNode
-
-
refreshData
Refresh data for specific node, only if node ISN'T actual- Parameters:
selectedNode
-
-