com.supermap.server.config

Class ClusterSetting

  • java.lang.Object
    • com.supermap.server.config.ClusterSetting


  • public class ClusterSetting
    extends java.lang.Object
    
    The cluster setting information.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class and Description
      static class  ClusterSetting.Status
      The cluster status enumeration.
    • Constructor Summary

      Constructors 
      Constructor and Description
      ClusterSetting() 
    • Method Summary

      Methods 
      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.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • DEFAULT_CONNECT_TIMEOUT

        public static final int DEFAULT_CONNECT_TIMEOUT
        
      • DEFAULT_READ_TIMEOUT

        public static final int DEFAULT_READ_TIMEOUT
        
      • address

        public java.lang.String address
        
        Cluster service address.
      • enabled

        public boolean enabled
        
        Whether the cluster is enabled.
      • useLocalCluster

        public java.lang.Boolean useLocalCluster
        
        Whether to use local cluster service.
      • token

        public java.lang.String token
        
        The credentials when using cluster.
      • connectTimeout

        public int connectTimeout
        

        The child node connection timeout when using cluster service. The unit is millisecond.

        Since:
        6.1.3
      • readTimeout

        public int readTimeout
        
        The timeout of reading the request contents from the child node while clustering. The timeout unit is millisecond.
      • dataSyncInterval

        public java.lang.Integer dataSyncInterval
        

        The time interval of updating the data file. The unit is minutes, the default is 30 minutes, hiding property.

        Since:
        6.1.3
      • includeFormats

        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.

        Since:
        6.1.3
      • excludeFormats

        public java.lang.String excludeFormats
        

        Can not deploy/sync data formats to the controlled child node, separated by commas, such as "md5,txt,rmvb".

        Since:
        6.1.3
      • reporters

        public java.util.List<ReporterSetting> reporters
        
        Reporter information list, that is, the configuration information list that the application to cluster service.
      • localAddress

        public java.lang.String localAddress
        

        Use the cluster iServer address. It can be accessed by the cluster service.

        Since:
        7.0.1
      • clusterRequestClientMode

        public ClusterSendRequestMode clusterRequestClientMode
        

        The client type when the cluster forwards the request

        Since:
        8.0.0
      • asyncClientSetting

        public AsyncClientSetting asyncClientSetting
        

        The asynchronous client configuration when the cluster forwards

        Since:
        8.0.0
    • Constructor Detail

      • ClusterSetting

        public ClusterSetting()
        
    • Method Detail

      • equals

        public final boolean equals(java.lang.Object obj)
        

        To determine whether the two objects are equal.

        Overrides:
        equals in class java.lang.Object
        Parameters:
        obj - the object to be compared.
        Returns:
        a value indicating whether the two objects are equal, true that the two objects are equal.
      • hashCode

        public int hashCode()
        
        Offer the hashCode method.
        Overrides:
        hashCode in class java.lang.Object