public class AbstractProfiler<PB extends AbstractProfileBreakdown<?>,E>
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected AbstractInternalProfileTree<PB,E> |
profileTree |
Constructor and Description |
---|
AbstractProfiler(AbstractInternalProfileTree<PB,E> profileTree) |
Modifier and Type | Method and Description |
---|---|
PB |
getQueryBreakdown(E query)
Get the
AbstractProfileBreakdown for the given element in the
tree, potentially creating it if it did not exist. |
java.util.List<ProfileResult> |
getTree() |
void |
pollLastElement()
Removes the last (e.g.
|
protected final AbstractInternalProfileTree<PB extends AbstractProfileBreakdown<?>,E> profileTree
public AbstractProfiler(AbstractInternalProfileTree<PB,E> profileTree)
public PB getQueryBreakdown(E query)
AbstractProfileBreakdown
for the given element in the
tree, potentially creating it if it did not exist.public void pollLastElement()
public java.util.List<ProfileResult> getTree()