Class HotThreadsRequest
java.lang.Object
org.opensearch.client.opensearch._types.RequestBase
org.opensearch.client.opensearch.nodes.HotThreadsRequest
Returns information about hot threads on each node in the cluster.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.opensearch.client.opensearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Endpoint<HotThreadsRequest, HotThreadsResponse, ErrorResponse> Endpoint "nodes.hot_threads". -
Method Summary
Modifier and TypeMethodDescriptionfinal TimePeriod to wait for a connection to the cluster-manager node.final BooleanIf true, known idle threads (e.g.final Timeinterval()The interval to do the second sampling of threads.final TimeDeprecated.nodeId()List of node IDs or names used to limit returned information.static HotThreadsRequestfinal LongNumber of samples of thread stacktrace.final Longthreads()Specifies the number of hot threads to provide information for.final Timetimeout()Period to wait for a response.final ThreadTypetype()The type to sample.Methods inherited from class org.opensearch.client.opensearch._types.RequestBase
applyQueryParameters, errorTrace, human
-
Field Details
-
_ENDPOINT
Endpoint "nodes.hot_threads".
-
-
Method Details
-
of
public static HotThreadsRequest of(Function<HotThreadsRequest.Builder, ObjectBuilder<HotThreadsRequest>> fn) -
ignoreIdleThreads
If true, known idle threads (e.g. waiting in a socket select, or to get a task from an empty queue) are filtered out.API name:
ignore_idle_threads -
interval
The interval to do the second sampling of threads.API name:
interval -
masterTimeout
Deprecated.Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.API name:
master_timeout -
clusterManagerTimeout
Period to wait for a connection to the cluster-manager node. If no response is received before the timeout expires, the request fails and returns an error.API name:
cluster_manager_timeout -
nodeId
List of node IDs or names used to limit returned information.API name:
node_id -
snapshots
Number of samples of thread stacktrace.API name:
snapshots -
threads
Specifies the number of hot threads to provide information for.API name:
threads -
timeout
Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.API name:
timeout -
type
The type to sample.API name:
type
-