public class SlowLogSpanImpl extends Object implements SlowLogSpan
Constructor and Description |
---|
SlowLogSpanImpl(String name,
long requestStartMS,
long requestStartInstantNS) |
Modifier and Type | Method and Description |
---|---|
void |
addProperty(String key,
String value) |
void |
end() |
void |
start() |
com.google.gson.JsonElement |
toJsonElement() |
public SlowLogSpanImpl(String name, long requestStartMS, long requestStartInstantNS)
public void addProperty(String key, String value)
addProperty
in interface SlowLogSpan
public void start()
start
in interface SlowLogSpan
public void end()
end
in interface SlowLogSpan
public com.google.gson.JsonElement toJsonElement()
toJsonElement
in interface SlowLogSpan
Copyright © 2024 PingCAP. All rights reserved.