public class ThreadInfoSamplesRequest extends Object implements Serializable
Constructor and Description |
---|
ThreadInfoSamplesRequest(int requestId,
int numSamples,
Duration delayBetweenSamples,
int maxStackTraceDepth) |
Modifier and Type | Method and Description |
---|---|
Duration |
getDelayBetweenSamples()
Returns the configured delay between the individual samples.
|
int |
getMaxStackTraceDepth()
Returns the configured maximum depth of the collected stack traces.
|
int |
getNumSamples()
Returns the number of samples that are requested to be collected.
|
int |
getRequestId()
Returns the ID of the sampling request.
|
public ThreadInfoSamplesRequest(int requestId, @Nonnegative int numSamples, Duration delayBetweenSamples, @Nonnegative int maxStackTraceDepth)
requestId
- ID of the sampling request.numSamples
- The number of samples.delayBetweenSamples
- The time to wait between taking samples.maxStackTraceDepth
- The maximum depth of the returned stack traces.public int getRequestId()
public int getNumSamples()
public Duration getDelayBetweenSamples()
public int getMaxStackTraceDepth()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.