@NotThreadSafe
public final class MasterInfo
extends java.lang.Object
| Constructor and Description |
|---|
MasterInfo(long id,
Address address)
Creates a new instance of
MasterInfo. |
| Modifier and Type | Method and Description |
|---|---|
Address |
getAddress() |
long |
getId() |
long |
getLastUpdatedTimeMs() |
java.lang.String |
toString() |
void |
updateLastUpdatedTimeMs()
Updates the last updated time of the master in ms.
|
public MasterInfo(long id,
Address address)
MasterInfo.id - the master id to useaddress - the master address to usepublic Address getAddress()
public long getId()
public long getLastUpdatedTimeMs()
public java.lang.String toString()
toString in class java.lang.Objectpublic void updateLastUpdatedTimeMs()
Copyright © 2020. All Rights Reserved.