public class ShallowTraceImp extends java.lang.Object implements ShallowTrace
ShallowTraceBuilder
to construct new instances of this class.
This class is immutable and thread-safe.
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.Map<java.lang.String,java.lang.String> |
getAttributes()
Get the set of attributes related to this trace.
|
java.lang.Long |
getEndNanos()
Returns the time at which the task was finished in nanoseconds.
|
boolean |
getHidden()
Returns if the trace will be hidden from the visualizations.
|
java.lang.Long |
getId()
Id of this trace.
|
java.lang.String |
getName()
Returns the task name for this trace
|
java.lang.Long |
getPendingNanos()
Returns the time at which the task finished its run method in nanoseconds.
|
ResultType |
getResultType()
Returns the result type of the task.
|
java.lang.Long |
getStartNanos()
Returns the time at which the task was started in nanoseconds.
|
boolean |
getSystemHidden()
Returns if the trace will be system hidden from the visualizations.
|
java.lang.String |
getTaskType()
Returns type (sideEffect, seq, par, timer etc) of the task
|
java.lang.String |
getValue()
Returns a String representation of the value or error produced by the
traced task.
|
int |
hashCode() |
java.lang.String |
toString() |
public java.lang.String getName()
ShallowTrace
getName
in interface ShallowTrace
public boolean getHidden()
ShallowTrace
getHidden
in interface ShallowTrace
public boolean getSystemHidden()
ShallowTrace
getSystemHidden
in interface ShallowTrace
public java.lang.String getValue()
ShallowTrace
getValue
in interface ShallowTrace
public ResultType getResultType()
ShallowTrace
getResultType
in interface ShallowTrace
public java.lang.Long getStartNanos()
ShallowTrace
null
.getStartNanos
in interface ShallowTrace
null
public java.lang.Long getPendingNanos()
ShallowTrace
null
.getPendingNanos
in interface ShallowTrace
null
.public java.lang.Long getEndNanos()
ShallowTrace
null
.getEndNanos
in interface ShallowTrace
null
public java.util.Map<java.lang.String,java.lang.String> getAttributes()
ShallowTrace
getAttributes
in interface ShallowTrace
public java.lang.Long getId()
ShallowTrace
getId
in interface ShallowTrace
public java.lang.String getTaskType()
ShallowTrace
getTaskType
in interface ShallowTrace
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object