Package callStack.profiler
Class ProfileEvent
java.lang.Object
callStack.profiler.ProfileEvent
- All Implemented Interfaces:
Serializable
public class ProfileEvent extends Object implements Serializable
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description ProfileEvent() -
Method Summary
Modifier and Type Method Description voidaddChild(ProfileEvent child)voidendEvent()Collection<ProfileEvent>getChildren()Map<String,ProfileEvent>getChildrenAsMap()ProfileEventgetEvent(String str)StringgetName()intgetNumOfInvocations()ProfileEventgetParent()longgetRuntimeInMillis()longgetStart()booleanisConcurrent()booleanisEnded()booleanisRemote()StringprettyPrint()voidsetChildrenAsMap(Map<String,ProfileEvent> childrenAsMap)voidsetConcurrent(boolean concurrent)voidsetName(String name)voidsetNumOfInvocations(int numOfInvocations)voidsetParent(ProfileEvent parent)voidsetRemote(boolean remote)voidsetRuntimeInMillis(long runtimeInMillis)voidsetStart(long start)voidstartEvent()StringtoString()
-
Constructor Details
-
ProfileEvent
public ProfileEvent()
-
-
Method Details
-
getChildren
-
addChild
-
getEvent
-
startEvent
public void startEvent() -
endEvent
public void endEvent() -
prettyPrint
-
isEnded
public boolean isEnded() -
toString
-
getRuntimeInMillis
public long getRuntimeInMillis() -
setRuntimeInMillis
public void setRuntimeInMillis(long runtimeInMillis) -
getNumOfInvocations
public int getNumOfInvocations() -
setNumOfInvocations
public void setNumOfInvocations(int numOfInvocations) -
getName
-
setName
-
getStart
public long getStart() -
setStart
public void setStart(long start) -
isConcurrent
public boolean isConcurrent() -
setConcurrent
public void setConcurrent(boolean concurrent) -
isRemote
public boolean isRemote() -
setRemote
public void setRemote(boolean remote) -
getParent
-
setParent
-
getChildrenAsMap
-
setChildrenAsMap
-