@NotThreadSafe public final class TracingExecutionContextStackCollector extends Object implements ISampler
Constructor and Description |
---|
TracingExecutionContextStackCollector(int maxNrThreads,
Supplier<Iterable<Map.Entry<Thread,ExecutionContext>>> execCtxSupplier) |
TracingExecutionContextStackCollector(Supplier<Iterable<Map.Entry<Thread,ExecutionContext>>> execCtxSupplier) |
Modifier and Type | Method and Description |
---|---|
Map<String,SampleNode> |
getCollections() |
Map<String,SampleNode> |
getCollectionsAndReset() |
void |
sample() |
String |
toString() |
public TracingExecutionContextStackCollector(Supplier<Iterable<Map.Entry<Thread,ExecutionContext>>> execCtxSupplier)
public TracingExecutionContextStackCollector(int maxNrThreads, Supplier<Iterable<Map.Entry<Thread,ExecutionContext>>> execCtxSupplier)
public Map<String,SampleNode> getCollectionsAndReset()
getCollectionsAndReset
in interface ISampler
public Map<String,SampleNode> getCollections()
getCollections
in interface ISampler
Copyright © 2018 SPF4J. All rights reserved.