public abstract class TraceNode extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TraceNode.Status
This enumerated type represents the completion status
of the call.
|
Constructor and Description |
---|
TraceNode() |
Modifier and Type | Method and Description |
---|---|
long |
getDuration()
This method returns the duration of the task.
|
int |
getPercentage()
This method returns the percentage of time
taken by this task within a parent call scope.
|
Map<String,String> |
getProperties()
This method returns the properties of the task.
|
TraceNode.Status |
getStatus()
This method returns the status.
|
void |
setDuration(long duration)
This method sets the duration of the task.
|
void |
setPercentage(int percentage)
This method sets the percentage of time
taken by this task within a parent call scope.
|
void |
setProperties(Map<String,String> properties)
This method sets the properties of the task.
|
void |
setStatus(TraceNode.Status status)
This method sets the status.
|
public long getDuration()
public void setDuration(long duration)
duration
- The durationpublic int getPercentage()
public void setPercentage(int percentage)
percentage
- The percentagepublic TraceNode.Status getStatus()
public void setStatus(TraceNode.Status status)
status
- The statuspublic Map<String,String> getProperties()
Copyright © 2013-2015 JBoss by Red Hat. All Rights Reserved.