public class SlowLogPattern extends AbstractModel
Constructor and Description |
---|
SlowLogPattern() |
SlowLogPattern(SlowLogPattern 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 |
getAverageTime()
Get Average execution time
|
Long |
getMaxTime()
Get Maximum execution time
|
String |
getPattern()
Get Slow log pattern
|
Long |
getTotal()
Get Number of slow logs in this pattern
|
void |
setAverageTime(Long AverageTime)
Set Average execution time
|
void |
setMaxTime(Long MaxTime)
Set Maximum execution time
|
void |
setPattern(String Pattern)
Set Slow log pattern
|
void |
setTotal(Long Total)
Set Number of slow logs in this pattern
|
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 SlowLogPattern()
public SlowLogPattern(SlowLogPattern source)
public String getPattern()
public void setPattern(String Pattern)
Pattern
- Slow log patternpublic Long getMaxTime()
public void setMaxTime(Long MaxTime)
MaxTime
- Maximum execution timepublic Long getAverageTime()
public void setAverageTime(Long AverageTime)
AverageTime
- Average execution timepublic Long getTotal()
public void setTotal(Long Total)
Total
- Number of slow logs in this patternCopyright © 2023. All rights reserved.