public class EventConfig extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| EventConfig() | 
| EventConfig(EventConfig 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 | getEventType()Get 事件类型,slow-设置慢SQL阈值,blocked-设置阻塞、死锁阈值 | 
| Long | getThreshold()Get 阈值,单位毫秒。0表示关闭,大于0表示开启 | 
| void | setEventType(String EventType)Set 事件类型,slow-设置慢SQL阈值,blocked-设置阻塞、死锁阈值 | 
| void | setThreshold(Long Threshold)Set 阈值,单位毫秒。0表示关闭,大于0表示开启 | 
| 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, toJsonStringpublic EventConfig()
public EventConfig(EventConfig source)
public String getEventType()
public void setEventType(String EventType)
EventType - 事件类型,slow-设置慢SQL阈值,blocked-设置阻塞、死锁阈值public Long getThreshold()
public void setThreshold(Long Threshold)
Threshold - 阈值,单位毫秒。0表示关闭,大于0表示开启Copyright © 2025. All rights reserved.