@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 ISampler
public Map<String,SampleNode> getCollections()
getCollections
in interface ISampler
Copyright © 2018 SPF4J. All rights reserved.