public class ClusterSetting
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ClusterSetting.Status
The cluster status enumeration.
|
Modifier and Type | Field and Description |
---|---|
java.lang.String |
address
Cluster service address.
|
AsyncClientSetting |
asyncClientSetting
The asynchronous client configuration when the cluster forwards
|
ClusterSendRequestMode |
clusterRequestClientMode
The client type when the cluster forwards the request
|
int |
connectTimeout
The child node connection timeout when using cluster service.
|
java.lang.Integer |
dataSyncInterval
The time interval of updating the data file.
|
static int |
DEFAULT_CONNECT_TIMEOUT |
static int |
DEFAULT_READ_TIMEOUT |
boolean |
enabled
Whether the cluster is enabled.
|
java.lang.String |
excludeFormats
Can not deploy/sync data formats to the controlled child node, separated by commas, such as "md5,txt,rmvb".
|
java.lang.String |
includeFormats
Deploy/Sync data formats to the controlled child node, separated by commas, such as "smwu,udd,png".
|
java.lang.String |
localAddress
Use the cluster iServer address.
|
int |
readTimeout
The timeout of reading the request contents from the child node while clustering.
|
java.util.List<ReporterSetting> |
reporters
Reporter information list, that is, the configuration information list that the application to cluster service.
|
ClusterSetting.Status |
status
Cluster status.
|
java.lang.String |
token
The credentials when using cluster.
|
java.lang.Boolean |
useLocalCluster
Whether 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.Object
obj
- the object to be compared.public int hashCode()
hashCode
in class java.lang.Object