public class ClusterSetting
extends java.lang.Object
| Modifier and Type | Class and Description | 
|---|---|
| static class  | ClusterSetting.StatusThe cluster status enumeration. | 
| Modifier and Type | Field and Description | 
|---|---|
| java.lang.String | addressCluster service address. | 
| AsyncClientSetting | asyncClientSettingThe asynchronous client configuration when the cluster forwards | 
| ClusterSendRequestMode | clusterRequestClientModeThe client type when the cluster forwards the request | 
| int | connectTimeoutThe child node connection timeout when using cluster service. | 
| java.lang.Integer | dataSyncIntervalThe time interval of updating the data file. | 
| static int | DEFAULT_CONNECT_TIMEOUT | 
| static int | DEFAULT_READ_TIMEOUT | 
| boolean | enabledWhether the cluster is enabled. | 
| java.lang.String | excludeFormatsCan not deploy/sync data formats to the controlled child node, separated by commas, such as "md5,txt,rmvb". | 
| java.lang.String | includeFormatsDeploy/Sync data formats to the controlled child node, separated by commas, such as "smwu,udd,png". | 
| java.lang.String | localAddressUse the cluster iServer address. | 
| int | readTimeoutThe timeout of reading the request contents from the child node while clustering. | 
| java.util.List<ReporterSetting> | reportersReporter information list, that is, the configuration information list that the application to cluster service. | 
| ClusterSetting.Status | statusCluster status. | 
| java.lang.String | tokenThe credentials when using cluster. | 
| java.lang.Boolean | useLocalClusterWhether to use local cluster service. | 
| Constructor and Description | 
|---|
| ClusterSetting() | 
| Modifier and Type | Method and Description | 
|---|---|
| ClusterSetting | copy() | 
| boolean | equals(java.lang.Object obj)To determine whether the two objects are equal. | 
| int | hashCode()Offer the hashCode method. | 
public static final int DEFAULT_CONNECT_TIMEOUT
public static final int DEFAULT_READ_TIMEOUT
public java.lang.String address
public boolean enabled
public java.lang.Boolean useLocalCluster
public java.lang.String token
public int connectTimeout
The child node connection timeout when using cluster service. The unit is millisecond.
public int readTimeout
public java.lang.Integer dataSyncInterval
The time interval of updating the data file. The unit is minutes, the default is 30 minutes, hiding property.
public java.lang.String includeFormats
Deploy/Sync data formats to the controlled child node, separated by commas, such as "smwu,udd,png". This field is no insignificance in this request.
public java.lang.String excludeFormats
Can not deploy/sync data formats to the controlled child node, separated by commas, such as "md5,txt,rmvb".
public java.util.List<ReporterSetting> reporters
public java.lang.String localAddress
Use the cluster iServer address. It can be accessed by the cluster service.
public ClusterSetting.Status status
enabled is true.public ClusterSendRequestMode clusterRequestClientMode
The client type when the cluster forwards the request
public AsyncClientSetting asyncClientSetting
The asynchronous client configuration when the cluster forwards
public ClusterSetting copy()
public final boolean equals(java.lang.Object obj)
To determine whether the two objects are equal.
equals in class java.lang.Objectobj - the object to be compared.public int hashCode()
hashCode in class java.lang.Object