public class DescribeSlowLogRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
DescribeSlowLogRequest() |
DescribeSlowLogRequest(DescribeSlowLogRequest 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 |
getBeginTime()
Get Start time for prequerying a slow log
|
String |
getEndTime()
Get End time for prequerying a slow log
|
String |
getInstanceId()
Get ID of a specified instance, such as "crs-xjhsdj****" Log in to the [Redis console](https://console.cloud.tencent.com/redis) and copy the instance ID in the instance list.
|
Long |
getLimit()
Get Number of slow queries displayed per page.
|
Long |
getMinQueryTime()
Get The average execution time threshold of slow query in microseconds
|
Long |
getOffset()
Get Slow query offset, which is an integral multiple of `Limit`.
|
String |
getRole()
Get Node role.
|
void |
setBeginTime(String BeginTime)
Set Start time for prequerying a slow log
|
void |
setEndTime(String EndTime)
Set End time for prequerying a slow log
|
void |
setInstanceId(String InstanceId)
Set ID of a specified instance, such as "crs-xjhsdj****" Log in to the [Redis console](https://console.cloud.tencent.com/redis) and copy the instance ID in the instance list.
|
void |
setLimit(Long Limit)
Set Number of slow queries displayed per page.
|
void |
setMinQueryTime(Long MinQueryTime)
Set The average execution time threshold of slow query in microseconds
|
void |
setOffset(Long Offset)
Set Slow query offset, which is an integral multiple of `Limit`.
|
void |
setRole(String Role)
Set Node role.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public DescribeSlowLogRequest()
public DescribeSlowLogRequest(DescribeSlowLogRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- ID of a specified instance, such as "crs-xjhsdj****" Log in to the [Redis console](https://console.cloud.tencent.com/redis) and copy the instance ID in the instance list.public String getBeginTime()
public void setBeginTime(String BeginTime)
BeginTime
- Start time for prequerying a slow logpublic String getEndTime()
public void setEndTime(String EndTime)
EndTime
- End time for prequerying a slow logpublic Long getMinQueryTime()
public void setMinQueryTime(Long MinQueryTime)
MinQueryTime
- The average execution time threshold of slow query in microsecondspublic Long getLimit()
public void setLimit(Long Limit)
Limit
- Number of slow queries displayed per page. Default value: `20`. Value range: [20,1000].public Long getOffset()
public void setOffset(Long Offset)
Offset
- Slow query offset, which is an integral multiple of `Limit`. Calculation formula: `offset` = `limit` * (page number - 1).public String getRole()
public void setRole(String Role)
Role
- Node role.
- master: Master node.- slave: Replica node.Copyright © 2024. All rights reserved.