public class ThreadInfoSamplesRequest extends Object implements Serializable
| 构造器和说明 |
|---|
ThreadInfoSamplesRequest(int requestId,
int numSamples,
java.time.Duration delayBetweenSamples,
int maxStackTraceDepth) |
| 限定符和类型 | 方法和说明 |
|---|---|
java.time.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,
java.time.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 java.time.Duration getDelayBetweenSamples()
public int getMaxStackTraceDepth()
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.