public class JobStatus extends AbstractModel
Constructor and Description |
---|
JobStatus() |
JobStatus(JobStatus 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.
|
Modifier and Type | Method and Description |
---|---|
Long |
getCurrentWorkers()
Get 当前Worker数量
注意:此字段可能返回 null,表示取不到有效值。
|
Long |
getDesiredWorkers()
Get 预期Worker数量
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getMessage()
Get 错误时为错误描述
注意:此字段可能返回 null,表示取不到有效值。
|
ReplicaInfo[] |
getReplicaInfos()
Get 副本实例
注意:此字段可能返回 null,表示取不到有效值。
|
String[] |
getReplicas()
Get 副本名
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getStatus()
Get 任务状态
|
void |
setCurrentWorkers(Long CurrentWorkers)
Set 当前Worker数量
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setDesiredWorkers(Long DesiredWorkers)
Set 预期Worker数量
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setMessage(String Message)
Set 错误时为错误描述
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setReplicaInfos(ReplicaInfo[] ReplicaInfos)
Set 副本实例
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setReplicas(String[] Replicas)
Set 副本名
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setStatus(String Status)
Set 任务状态
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public JobStatus()
public JobStatus(JobStatus source)
public String getStatus()
public void setStatus(String Status)
Status
- 任务状态public String getMessage()
public void setMessage(String Message)
Message
- 错误时为错误描述
注意:此字段可能返回 null,表示取不到有效值。public Long getDesiredWorkers()
public void setDesiredWorkers(Long DesiredWorkers)
DesiredWorkers
- 预期Worker数量
注意:此字段可能返回 null,表示取不到有效值。public Long getCurrentWorkers()
public void setCurrentWorkers(Long CurrentWorkers)
CurrentWorkers
- 当前Worker数量
注意:此字段可能返回 null,表示取不到有效值。public String[] getReplicas()
public void setReplicas(String[] Replicas)
Replicas
- 副本名
注意:此字段可能返回 null,表示取不到有效值。public ReplicaInfo[] getReplicaInfos()
public void setReplicaInfos(ReplicaInfo[] ReplicaInfos)
ReplicaInfos
- 副本实例
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2022. All rights reserved.