@NotThreadSafe public final class ThreadStackSampler extends Object implements ISampler
| Constructor and Description |
|---|
ThreadStackSampler(int maxSampledThreads,
Supplier<Iterable<Thread>> threadSupplier) |
ThreadStackSampler(Supplier<Iterable<Thread>> threadSupplier) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,SampleNode> |
getCollections() |
Map<String,SampleNode> |
getCollectionsAndReset() |
void |
sample() |
String |
toString() |
public Map<String,SampleNode> getCollectionsAndReset()
getCollectionsAndReset in interface ISamplerpublic Map<String,SampleNode> getCollections()
getCollections in interface ISamplerCopyright © 2018 SPF4J. All rights reserved.