com.supermap.server.config

Class ReporterSetting

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


  • 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.

    • Field Detail

      • address

        public java.lang.String address
        
      • localAddress

        public java.lang.String localAddress
        
      • enabled

        public boolean enabled
        
      • isTileWorker

        public boolean isTileWorker
        
      • applyRepositorySettingOfMaster

        public boolean applyRepositorySettingOfMaster
        
        Whether to enable repository settings of mater node of the cluster.

        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.

      • token

        public java.lang.String token
        
      • iserverId

        public java.lang.String iserverId
        
      • enabledSparkWork

        public boolean enabledSparkWork
        
    • Constructor Detail

      • ReporterSetting

        public ReporterSetting()
        
    • Method Detail

      • localAddress

        public ReporterSetting localAddress(java.lang.String localAddress)
        
      • applyRepositorySettingOfMaster

        public ReporterSetting applyRepositorySettingOfMaster(boolean applyRepositorySettingOfMaster)
        
      • enabledSparkWork

        public ReporterSetting enabledSparkWork(boolean enabledSparkWork)
        
      • equals

        public boolean equals(java.lang.Object obj)
        
        Overrides:
        equals in class java.lang.Object
      • hashCode

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