Modifier and Type | Field and Description |
---|---|
static java.util.function.Consumer<ActivityImpl> |
listener |
Modifier and Type | Method and Description |
---|---|
void |
end() |
Activity |
endAndStart(java.lang.String name)
Convenient method to end token and start a new sibling one.
|
ActivityCategory |
getCategory() |
java.lang.String |
getDescription() |
long |
getEnd() |
java.lang.String |
getName() |
ActivityImpl |
getParent() |
java.lang.String |
getPluginId() |
long |
getStart() |
long |
getThreadId() |
java.lang.String |
getThreadName() |
void |
setDescription(java.lang.String value) |
ActivityImpl |
startChild(java.lang.String name) |
java.lang.String |
toString() |
public static volatile java.util.function.Consumer<ActivityImpl> listener
public java.lang.String getThreadName()
public long getThreadId()
public ActivityImpl getParent()
public ActivityCategory getCategory()
public ActivityImpl startChild(java.lang.String name)
startChild
in interface Activity
public java.lang.String getName()
public java.lang.String getDescription()
public java.lang.String getPluginId()
public long getStart()
public long getEnd()
public void setDescription(java.lang.String value)
setDescription
in interface Activity
public Activity endAndStart(java.lang.String name)
Activity
endAndStart
in interface Activity
public java.lang.String toString()
toString
in class java.lang.Object