Class NodesHotThreadsDescriptor
Descriptor for HotThreads
https://opensearch.org/docs/latest/api-reference/nodes-apis/nodes-hot-threads/
Inheritance
NodesHotThreadsDescriptor
Assembly: OpenSearch.Client.dll
Syntax
public class NodesHotThreadsDescriptor : RequestDescriptorBase<NodesHotThreadsDescriptor, NodesHotThreadsRequestParameters, INodesHotThreadsRequest>, IDescriptor, INodesHotThreadsRequest, IRequest<NodesHotThreadsRequestParameters>, IRequest
Constructors
|
Edit this page
View Source
NodesHotThreadsDescriptor()
Declaration
public NodesHotThreadsDescriptor()
|
Edit this page
View Source
NodesHotThreadsDescriptor(NodeIds)
/_nodes/{node_id}/hot_threads
Declaration
public NodesHotThreadsDescriptor(NodeIds nodeId)
Parameters
Type |
Name |
Description |
NodeIds |
nodeId |
Optional, accepts null
|
Properties
|
Edit this page
View Source
ContentType
Declaration
protected override string ContentType { get; }
Property Value
Overrides
Methods
|
Edit this page
View Source
IgnoreIdleThreads(bool?)
Don't show threads that are in known-idle places, such as waiting on a socket select or pulling from an empty task queue.
Declaration
public NodesHotThreadsDescriptor IgnoreIdleThreads(bool? ignoreidlethreads = true)
Parameters
Type |
Name |
Description |
bool? |
ignoreidlethreads |
|
Returns
|
Edit this page
View Source
Interval(Time)
The interval for the second sampling of threads.
Declaration
public NodesHotThreadsDescriptor Interval(Time interval)
Parameters
Type |
Name |
Description |
Time |
interval |
|
Returns
|
Edit this page
View Source
NodeId(NodeIds)
Comma-separated list of node IDs or names to limit the returned information; use _local
to return information from the node you're connecting to, leave empty to get information from all nodes.
Declaration
public NodesHotThreadsDescriptor NodeId(NodeIds nodeId)
Parameters
Type |
Name |
Description |
NodeIds |
nodeId |
|
Returns
|
Edit this page
View Source
RequestDefaults(NodesHotThreadsRequestParameters)
Allows a request implementation to set certain request parameter defaults, use sparingly!
Declaration
protected override sealed void RequestDefaults(NodesHotThreadsRequestParameters parameters)
Parameters
Overrides
|
Edit this page
View Source
Snapshots(long?)
Number of samples of thread stack trace.
Declaration
public NodesHotThreadsDescriptor Snapshots(long? snapshots)
Parameters
Type |
Name |
Description |
long? |
snapshots |
|
Returns
|
Edit this page
View Source
Threads(long?)
Specify the number of threads to provide information for.
Declaration
public NodesHotThreadsDescriptor Threads(long? threads)
Parameters
Type |
Name |
Description |
long? |
threads |
|
Returns
|
Edit this page
View Source
Timeout(Time)
Declaration
public NodesHotThreadsDescriptor Timeout(Time timeout)
Parameters
Type |
Name |
Description |
Time |
timeout |
|
Returns
|
Edit this page
View Source
Type(NodesSampleType?)
Declaration
public NodesHotThreadsDescriptor Type(NodesSampleType? type)
Parameters
Returns
Implements
Extension Methods