Class ShardInfo

    • Constructor Detail

      • ShardInfo

        public ShardInfo()
      • ShardInfo

        public ShardInfo​(ShardInfo 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

      • getShardInstanceId

        public String getShardInstanceId()
        Get 分片ID
        Returns:
        ShardInstanceId 分片ID
      • setShardInstanceId

        public void setShardInstanceId​(String ShardInstanceId)
        Set 分片ID
        Parameters:
        ShardInstanceId - 分片ID
      • getShardSerialId

        public String getShardSerialId()
        Get 分片Set ID
        Returns:
        ShardSerialId 分片Set ID
      • setShardSerialId

        public void setShardSerialId​(String ShardSerialId)
        Set 分片Set ID
        Parameters:
        ShardSerialId - 分片Set ID
      • getStatus

        public Long getStatus()
        Get 状态:0 创建中,1 流程处理中, 2 运行中,3 分片未初始化,-2 分片已删除
        Returns:
        Status 状态:0 创建中,1 流程处理中, 2 运行中,3 分片未初始化,-2 分片已删除
      • setStatus

        public void setStatus​(Long Status)
        Set 状态:0 创建中,1 流程处理中, 2 运行中,3 分片未初始化,-2 分片已删除
        Parameters:
        Status - 状态:0 创建中,1 流程处理中, 2 运行中,3 分片未初始化,-2 分片已删除
      • getCreatetime

        public String getCreatetime()
        Get 创建时间
        Returns:
        Createtime 创建时间
      • setCreatetime

        public void setCreatetime​(String Createtime)
        Set 创建时间
        Parameters:
        Createtime - 创建时间
      • getMemory

        public Long getMemory()
        Get 内存大小,单位 GB
        Returns:
        Memory 内存大小,单位 GB
      • setMemory

        public void setMemory​(Long Memory)
        Set 内存大小,单位 GB
        Parameters:
        Memory - 内存大小,单位 GB
      • getStorage

        public Long getStorage()
        Get 存储大小,单位 GB
        Returns:
        Storage 存储大小,单位 GB
      • setStorage

        public void setStorage​(Long Storage)
        Set 存储大小,单位 GB
        Parameters:
        Storage - 存储大小,单位 GB
      • getShardId

        public Long getShardId()
        Get 分片数字ID
        Returns:
        ShardId 分片数字ID
      • setShardId

        public void setShardId​(Long ShardId)
        Set 分片数字ID
        Parameters:
        ShardId - 分片数字ID
      • getNodeCount

        public Long getNodeCount()
        Get 节点数,2 为一主一从, 3 为一主二从
        Returns:
        NodeCount 节点数,2 为一主一从, 3 为一主二从
      • setNodeCount

        public void setNodeCount​(Long NodeCount)
        Set 节点数,2 为一主一从, 3 为一主二从
        Parameters:
        NodeCount - 节点数,2 为一主一从, 3 为一主二从
      • getPid

        public Long getPid()
        Get 产品类型 Id(过时字段,请勿依赖该值)
        Returns:
        Pid 产品类型 Id(过时字段,请勿依赖该值)
      • setPid

        public void setPid​(Long Pid)
        Set 产品类型 Id(过时字段,请勿依赖该值)
        Parameters:
        Pid - 产品类型 Id(过时字段,请勿依赖该值)
      • getCpu

        public Long getCpu()
        Get Cpu核数
        Returns:
        Cpu Cpu核数
      • setCpu

        public void setCpu​(Long Cpu)
        Set Cpu核数
        Parameters:
        Cpu - Cpu核数