Class GroupAgentLockDao


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

      • GroupAgentLockDao

        public GroupAgentLockDao()
    • Method Detail

      • 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