@NotThreadSafe public final class MasterWebUIMasters extends Object implements Serializable
Constructor and Description |
---|
MasterWebUIMasters()
Creates a new instance of
MasterWebUIMasters . |
Modifier and Type | Method and Description |
---|---|
boolean |
getDebug()
Gets debug.
|
MasterInfo[] |
getLostMasterInfos()
Get info of lost masters.
|
MasterInfo |
getPrimaryMasterInfo()
Get info of the primary master.
|
MasterInfo[] |
getStandbyMasterInfos()
Get info of standby masters.
|
MasterWebUIMasters |
setDebug(boolean debug)
Sets debug.
|
MasterWebUIMasters |
setLostMasterInfos(MasterInfo[] lostMasterInfos)
Sets lost master infos.
|
MasterWebUIMasters |
setPrimaryMasterInfo(MasterInfo primaryMasterInfo)
Sets primary master info.
|
MasterWebUIMasters |
setStandbyMasterInfos(MasterInfo[] standbyMasterInfos)
Sets standby master infos.
|
String |
toString() |
public MasterWebUIMasters()
MasterWebUIMasters
.public boolean getDebug()
public MasterInfo[] getLostMasterInfos()
MasterInfo
public MasterInfo[] getStandbyMasterInfos()
MasterInfo
public MasterInfo getPrimaryMasterInfo()
MasterInfo
public MasterWebUIMasters setDebug(boolean debug)
debug
- the debugMasterWebUIMasters
instancepublic MasterWebUIMasters setLostMasterInfos(MasterInfo[] lostMasterInfos)
lostMasterInfos
- an array of lost MasterInfo
MasterWebUIMasters
instancepublic MasterWebUIMasters setStandbyMasterInfos(MasterInfo[] standbyMasterInfos)
standbyMasterInfos
- an array of standby MasterInfo
MasterWebUIMasters
instancepublic MasterWebUIMasters setPrimaryMasterInfo(MasterInfo primaryMasterInfo)
primaryMasterInfo
- the primary MasterInfo
MasterWebUIMasters
instanceCopyright © 2023. All Rights Reserved.