public class PFStatsNode extends Object
Modifier and Type | Class and Description |
---|---|
static class |
PFStatsNode.DurationCount |
Constructor and Description |
---|
PFStatsNode(String name,
String type,
Object target,
Object context) |
Modifier and Type | Method and Description |
---|---|
void |
addError(String error) |
List<PFStatsNode> |
children() |
void |
clearErrors() |
Object |
context() |
PFStatsNode.DurationCount |
countBetweenDurations(long minNanos,
long maxNanos) |
protected void |
countBetweenDurations(long minNanos,
long maxNanos,
PFStatsNode.DurationCount durationCount) |
Map<String,Long> |
counters() |
int |
countOf(String name,
boolean recursiveCount) |
String |
cssID() |
int |
depth() |
long |
duration() |
double |
durationMillis() |
long |
durationOf(String name,
boolean recursiveSum) |
double |
durationOfMillis(String name,
boolean recursiveSum) |
void |
end() |
List<String> |
errors() |
boolean |
hasErrors() |
long |
id() |
void |
incrementCounter(String counterName) |
boolean |
isAtLeastPercentage(double minimumPercentage) |
boolean |
isImportant() |
boolean |
isLeaf() |
boolean |
isRoot() |
String |
name() |
long |
overhead() |
PFStatsNode |
parentStats() |
double |
percentage() |
void |
pop() |
PFStatsNode |
push(String name,
String type,
Object target,
Object context) |
PFStatsNode |
rootStats() |
void |
start() |
Object |
target() |
String |
type() |
public void clearErrors()
public void addError(String error)
public boolean hasErrors()
public String type()
public PFStatsNode parentStats()
public long id()
public String name()
public Object target()
public Object context()
public int depth()
public PFStatsNode rootStats()
public boolean isLeaf()
public boolean isRoot()
public void start()
public void end()
public long overhead()
public long duration()
public double durationMillis()
public long durationOf(String name, boolean recursiveSum)
public double durationOfMillis(String name, boolean recursiveSum)
public int countOf(String name, boolean recursiveCount)
public PFStatsNode.DurationCount countBetweenDurations(long minNanos, long maxNanos)
protected void countBetweenDurations(long minNanos, long maxNanos, PFStatsNode.DurationCount durationCount)
public List<PFStatsNode> children()
public PFStatsNode push(String name, String type, Object target, Object context)
public void pop()
public double percentage()
public boolean isAtLeastPercentage(double minimumPercentage)
public boolean isImportant()
public String cssID()
public void incrementCounter(String counterName)
Copyright © 2002 – 2020 Project Wonder.