public class KillMySqlThreadsRequest extends AbstractModel
skipSign
Constructor and Description |
---|
KillMySqlThreadsRequest() |
KillMySqlThreadsRequest(KillMySqlThreadsRequest 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 |
---|---|
String |
getInstanceId()
Get 实例ID。
|
String |
getProduct()
Get 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL,默认为"mysql"。
|
Boolean |
getRecordHistory()
Get 默认是ture, 记录下kill的记录,为了加快kill,可设置为false。
|
String |
getSqlExecId()
Get 执行ID,此参数用于Commit阶段。
|
String |
getStage()
Get kill会话任务的阶段,取值包括:"Prepare"-准备阶段,"Commit"-提交阶段。
|
Long[] |
getThreads()
Get 需要kill的sql会话ID列表,此参数用于Prepare阶段。
|
void |
setInstanceId(String InstanceId)
Set 实例ID。
|
void |
setProduct(String Product)
Set 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL,默认为"mysql"。
|
void |
setRecordHistory(Boolean RecordHistory)
Set 默认是ture, 记录下kill的记录,为了加快kill,可设置为false。
|
void |
setSqlExecId(String SqlExecId)
Set 执行ID,此参数用于Commit阶段。
|
void |
setStage(String Stage)
Set kill会话任务的阶段,取值包括:"Prepare"-准备阶段,"Commit"-提交阶段。
|
void |
setThreads(Long[] Threads)
Set 需要kill的sql会话ID列表,此参数用于Prepare阶段。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, getSkipSign, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public KillMySqlThreadsRequest()
public KillMySqlThreadsRequest(KillMySqlThreadsRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- 实例ID。public String getStage()
public void setStage(String Stage)
Stage
- kill会话任务的阶段,取值包括:"Prepare"-准备阶段,"Commit"-提交阶段。public Long[] getThreads()
public void setThreads(Long[] Threads)
Threads
- 需要kill的sql会话ID列表,此参数用于Prepare阶段。public String getSqlExecId()
public void setSqlExecId(String SqlExecId)
SqlExecId
- 执行ID,此参数用于Commit阶段。public String getProduct()
public void setProduct(String Product)
Product
- 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL,默认为"mysql"。public Boolean getRecordHistory()
public void setRecordHistory(Boolean RecordHistory)
RecordHistory
- 默认是ture, 记录下kill的记录,为了加快kill,可设置为false。Copyright © 2023. All rights reserved.