Class UIMasterInfo


  • public class UIMasterInfo
    extends java.lang.Object
    Displays information about a master in the UI.
    • Constructor Summary

      Constructors 
      Constructor Description
      UIMasterInfo​(java.lang.String masterAddress, long id, long lastUpdatedTimeMs)
      Creates a new instance of UIMasterInfo.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getAddress()
      Gets master address.
      java.lang.String getId()
      Get id.
      java.lang.String getLastUpdatedTime()
      Get master last update time.
      • Methods inherited from class java.lang.Object

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

      • UIMasterInfo

        public UIMasterInfo​(java.lang.String masterAddress,
                            long id,
                            long lastUpdatedTimeMs)
        Creates a new instance of UIMasterInfo.
        Parameters:
        masterAddress - The master address
        id - The master id
        lastUpdatedTimeMs - The last heart beat in ms
    • Method Detail

      • getAddress

        public java.lang.String getAddress()
        Gets master address.
        Returns:
        the master address
      • getId

        public java.lang.String getId()
        Get id.
        Returns:
        the id
      • getLastUpdatedTime

        public java.lang.String getLastUpdatedTime()
        Get master last update time.
        Returns:
        the master last update time