@NotThreadSafe public final class StackCollectorImpl extends Object implements StackCollector
| Constructor and Description |
|---|
StackCollectorImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
collect(StackTraceElement[] stackTrace) |
SampleNode |
get() |
SampleNode |
getAndReset() |
int |
getNrNodes() |
String |
toString() |
@Nullable public SampleNode getAndReset()
getAndReset in interface StackCollector@Nullable public SampleNode get()
get in interface StackCollectorpublic void collect(StackTraceElement[] stackTrace)
collect in interface StackCollectorpublic int getNrNodes()
Copyright © 2018 SPF4J. All rights reserved.