Class HotThreadsRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.nodes.HotThreadsRequest
public class HotThreadsRequest extends RequestBase
This API yields a breakdown of the hot threads on each selected node in the
cluster. The output is plain text with a breakdown of each node’s top hot
threads.
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HotThreadsRequest.Builder
Builder forHotThreadsRequest
.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
-
Field Summary
Fields Modifier and Type Field Description static Endpoint<HotThreadsRequest,HotThreadsResponse,ErrorResponse>
_ENDPOINT
Endpoint "nodes.hot_threads
". -
Method Summary
Modifier and Type Method Description java.lang.Boolean
ignoreIdleThreads()
If true, known idle threads (e.g.Time
interval()
The interval to do the second sampling of threads.Time
masterTimeout()
Period to wait for a connection to the master node.java.util.List<java.lang.String>
nodeId()
List of node IDs or names used to limit returned information.static HotThreadsRequest
of(java.util.function.Function<HotThreadsRequest.Builder,ObjectBuilder<HotThreadsRequest>> fn)
java.lang.Long
snapshots()
Number of samples of thread stacktrace.ThreadType
sort()
The sort order for 'cpu' type (default: total)java.lang.Long
threads()
Specifies the number of hot threads to provide information for.Time
timeout()
Period to wait for a response.ThreadType
type()
The type to sample.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_ENDPOINT
Endpoint "nodes.hot_threads
".
-
-
Method Details
-
of
public static HotThreadsRequest of(java.util.function.Function<HotThreadsRequest.Builder,ObjectBuilder<HotThreadsRequest>> fn) -
ignoreIdleThreads
@Nullable public final java.lang.Boolean 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
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
-
nodeId
public final java.util.List<java.lang.String> nodeId()List of node IDs or names used to limit returned information.API name:
node_id
-
snapshots
@Nullable public final java.lang.Long snapshots()Number of samples of thread stacktrace.API name:
snapshots
-
sort
The sort order for 'cpu' type (default: total)API name:
sort
-
threads
@Nullable public final java.lang.Long 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
-