Class GroupAgentLockDao


public class GroupAgentLockDao extends AbstractDao
The Class ServerHealthStatusMetricsDao.
  • Constructor Details

    • GroupAgentLockDao

      public GroupAgentLockDao()
  • Method Details

    • getLocalLock

      public GroupAgentLock getLocalLock(String groupName)
      Gets the local lock.
      Parameters:
      groupName - the group name
      Returns:
      the local lock
    • getGroupAgentLock

      public GroupAgentLock getGroupAgentLock(String groupName)
      Gets the group agent lock for the given group name.
      Parameters:
      groupName - the group name
      Returns:
      the group agent lock
    • getCurrentIndex

      public int getCurrentIndex(String groupName)
      Gets the current index for the given group name.
      Parameters:
      groupName - the group name
      Returns:
      the current index
    • getLastUpdateTime

      public Date getLastUpdateTime(String groupName)
      Gets the last update time for the given group name.
      Parameters:
      groupName - the group name
      Returns:
      the last update time