Class ExpandShardConfig

    • Constructor Detail

      • ExpandShardConfig

        public ExpandShardConfig()
      • ExpandShardConfig

        public ExpandShardConfig​(ExpandShardConfig source)
        NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
    • Method Detail

      • getShardInstanceIds

        public String[] getShardInstanceIds()
        Get 分片ID数组
        Returns:
        ShardInstanceIds 分片ID数组
      • setShardInstanceIds

        public void setShardInstanceIds​(String[] ShardInstanceIds)
        Set 分片ID数组
        Parameters:
        ShardInstanceIds - 分片ID数组
      • getShardMemory

        public Long getShardMemory()
        Get 分片内存大小,单位 GB
        Returns:
        ShardMemory 分片内存大小,单位 GB
      • setShardMemory

        public void setShardMemory​(Long ShardMemory)
        Set 分片内存大小,单位 GB
        Parameters:
        ShardMemory - 分片内存大小,单位 GB
      • getShardStorage

        public Long getShardStorage()
        Get 分片存储大小,单位 GB
        Returns:
        ShardStorage 分片存储大小,单位 GB
      • setShardStorage

        public void setShardStorage​(Long ShardStorage)
        Set 分片存储大小,单位 GB
        Parameters:
        ShardStorage - 分片存储大小,单位 GB
      • getShardNodeCount

        public Long getShardNodeCount()
        Get 分片节点数
        Returns:
        ShardNodeCount 分片节点数
      • setShardNodeCount

        public void setShardNodeCount​(Long ShardNodeCount)
        Set 分片节点数
        Parameters:
        ShardNodeCount - 分片节点数