Class MonitoringNodeService

java.lang.Object
sk.iway.iwcm.components.monitoring.rest.MonitoringNodeService

public class MonitoringNodeService extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
    MonitoringNodeService(javax.servlet.http.HttpServletRequest request)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Based on request values "showType" and "selectedNode", return list of corresponding data's.
    static List<String>
    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 local
    static void
    refreshData(String selectedNode)
    Refresh data for specific node, only if node ISN'T actual
    static void
    resetData(String actualShowType, String selectedNode)
    Do reset data (remove local data), ONLY for actual node, and for selected show type (node is checked that is current).

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • MonitoringNodeService

      public MonitoringNodeService(javax.servlet.http.HttpServletRequest request)
  • Method Details

    • getAll

      public List<ExecutionEntry> getAll()
      Based on request values "showType" and "selectedNode", return list of corresponding data's.
      Returns:
      List
    • getLastUpdate

      public Date getLastUpdate()
      Returns last update of data for remote nodes or NULL if there are no data or node is local
      Returns:
    • getAllNodes

      public static List<String> getAllNodes()
      Return list of all nodes, only if isServerRunningInClusterMode. The current node will be always on 1st place.
      Returns:
    • resetData

      public static void resetData(String actualShowType, String selectedNode)
      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

      public static void refreshData(String selectedNode)
      Refresh data for specific node, only if node ISN'T actual
      Parameters:
      selectedNode -