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 pre-querying slow query logs, with a maximum query span of 30 days.
|
String |
getEndTime()
Get End time for pre-querying slow query logs, with a maximum query span of 30 days.
|
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 query results displayed per page.
|
Long |
getMinQueryTime()
Get Average execution time threshold for slow queries, in milliseconds.
|
Long |
getOffset()
Get Offset of the number of slow queries.
|
String |
getRole()
Get Node role.
|
void |
setBeginTime(String BeginTime)
Set Start time for pre-querying slow query logs, with a maximum query span of 30 days.
|
void |
setEndTime(String EndTime)
Set End time for pre-querying slow query logs, with a maximum query span of 30 days.
|
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 query results displayed per page.
|
void |
setMinQueryTime(Long MinQueryTime)
Set Average execution time threshold for slow queries, in milliseconds.
|
void |
setOffset(Long Offset)
Set Offset of the number of slow queries.
|
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, isStream, 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 pre-querying slow query logs, with a maximum query span of 30 days.public String getEndTime()
public void setEndTime(String EndTime)
EndTime
- End time for pre-querying slow query logs, with a maximum query span of 30 days.public Long getMinQueryTime()
public void setMinQueryTime(Long MinQueryTime)
MinQueryTime
- Average execution time threshold for slow queries, in milliseconds. The value is a positive integer greater than 0public Long getLimit()
public void setLimit(Long Limit)
Limit
- Number of slow query results displayed per page. The default value is 20, the minimum value is 1, and the maximum value is 100.public Long getOffset()
public void setOffset(Long Offset)
Offset
- Offset of the number of slow queries. The value is an integer multiple of Limit. Calculation formula: Offset = Limit x (Page number – 1). The default value is 0.public String getRole()
public void setRole(String Role)
Role
- Node role.
- master: Master node.- slave: Replica node.Copyright © 2025. All rights reserved.