Class NodesHotThreadsRequest
Request for HotThreads
https://opensearch.org/docs/latest/api-reference/nodes-apis/nodes-hot-threads/
Inheritance
NodesHotThreadsRequest
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public class NodesHotThreadsRequest : PlainRequestBase<NodesHotThreadsRequestParameters>, INodesHotThreadsRequest, IRequest<NodesHotThreadsRequestParameters>, IRequest
Constructors
| Edit this page View SourceNodesHotThreadsRequest()
/_nodes/hot_threads
Declaration
public NodesHotThreadsRequest()
NodesHotThreadsRequest(NodeIds)
/_nodes/{node_id}/hot_threads
Declaration
public NodesHotThreadsRequest(NodeIds nodeId)
Parameters
Type | Name | Description |
---|---|---|
NodeIds | nodeId | Optional, accepts null |
Properties
| Edit this page View SourceContentType
Declaration
protected override string ContentType { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
| Edit this page View SourceIgnoreIdleThreads
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 bool? IgnoreIdleThreads { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Interval
The interval for the second sampling of threads.
Declaration
public Time Interval { get; set; }
Property Value
Type | Description |
---|---|
Time |
Self
Declaration
protected INodesHotThreadsRequest Self { get; }
Property Value
Type | Description |
---|---|
INodesHotThreadsRequest |
Snapshots
Number of samples of thread stack trace.
Declaration
public long? Snapshots { get; set; }
Property Value
Type | Description |
---|---|
long? |
Threads
Specify the number of threads to provide information for.
Declaration
public long? Threads { get; set; }
Property Value
Type | Description |
---|---|
long? |
Timeout
Operation timeout.
Declaration
public Time Timeout { get; set; }
Property Value
Type | Description |
---|---|
Time |
Type
The type to sample.
Declaration
public NodesSampleType? Type { get; set; }
Property Value
Type | Description |
---|---|
NodesSampleType? |
Methods
| Edit this page View SourceRequestDefaults(NodesHotThreadsRequestParameters)
Allows a request implementation to set certain request parameter defaults, use sparingly!
Declaration
protected override sealed void RequestDefaults(NodesHotThreadsRequestParameters parameters)
Parameters
Type | Name | Description |
---|---|---|
NodesHotThreadsRequestParameters | parameters |