Package alluxio.util.webui
Class UIMasterInfo
- java.lang.Object
-
- alluxio.util.webui.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 ofUIMasterInfo
.
-
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.
-
-
-
Constructor Detail
-
UIMasterInfo
public UIMasterInfo(java.lang.String masterAddress, long id, long lastUpdatedTimeMs)
Creates a new instance ofUIMasterInfo
.- Parameters:
masterAddress
- The master addressid
- The master idlastUpdatedTimeMs
- 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
-
-