public class ReporterSetting
extends java.lang.Object
Title: Cluster reporter configure information
Description: Configure the cluster reporter information, such as report address (cluster listener service address), report interval, enabled or not, etc.
Modifier and Type | Field and Description |
---|---|
java.lang.String |
address |
boolean |
applyRepositorySettingOfMaster
Whether to enable repository settings of mater node of the cluster.
|
boolean |
enabled |
boolean |
enabledSparkWork |
java.lang.String |
iserverId |
boolean |
isTileWorker |
java.lang.String |
localAddress |
java.lang.String |
token |
Constructor and Description |
---|
ReporterSetting() |
ReporterSetting(ReporterSetting reporterSetting) |
Modifier and Type | Method and Description |
---|---|
ReporterSetting |
address(java.lang.String address) |
ReporterSetting |
applyRepositorySettingOfMaster(boolean applyRepositorySettingOfMaster) |
ReporterSetting |
enabled(boolean enabled) |
ReporterSetting |
enabledSparkWork(boolean enabledSparkWork) |
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
ReporterSetting |
iserverId(java.lang.String iserverId) |
ReporterSetting |
isTileWorker(boolean isTileWorker) |
ReporterSetting |
localAddress(java.lang.String localAddress) |
ReporterSetting |
token(java.lang.String token) |
public java.lang.String address
public java.lang.String localAddress
public boolean enabled
public boolean isTileWorker
public boolean applyRepositorySettingOfMaster
When this option is enabled, the child node of the cluster will use the master's repository settings. If all child nodes enable this option in the cluster system, all nodes in this cluster can share with the same repository. In this case, the temporary resources can be commonly used by any nodes in this cluster.
public java.lang.String token
public java.lang.String iserverId
public boolean enabledSparkWork
public ReporterSetting()
public ReporterSetting(ReporterSetting reporterSetting)
public ReporterSetting address(java.lang.String address)
public ReporterSetting token(java.lang.String token)
public ReporterSetting iserverId(java.lang.String iserverId)
public ReporterSetting localAddress(java.lang.String localAddress)
public ReporterSetting enabled(boolean enabled)
public ReporterSetting isTileWorker(boolean isTileWorker)
public ReporterSetting applyRepositorySettingOfMaster(boolean applyRepositorySettingOfMaster)
public ReporterSetting enabledSparkWork(boolean enabledSparkWork)
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object