Class HotThreadsRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.nodes.HotThreadsRequest
- All Implemented Interfaces:
ElasticsearchCommonRequest
public final class HotThreadsRequest extends RequestBase
-
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,ElasticsearchError>
ENDPOINT
Endpoint "nodes.hot_threads
". -
Constructor Summary
Constructors Constructor Description HotThreadsRequest(HotThreadsRequest.Builder builder)
HotThreadsRequest(java.util.function.Function<HotThreadsRequest.Builder,HotThreadsRequest.Builder> fn)
-
Method Summary
Modifier and Type Method Description java.lang.Boolean
ignoreIdleThreads()
Don't show threads that are in known-idle places, such as waiting on a socket select or pulling from an empty task queue (default: true)java.lang.String
interval()
The interval for the second sampling of threadsjava.util.List<java.lang.String>
nodeId()
A 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 nodesjava.lang.Long
snapshots()
Number of samples of thread stacktrace (default: 10)java.lang.Long
threads()
Specify the number of threads to provide information for (default: 3)ThreadType
threadType()
API name:thread_type
java.lang.String
timeout()
Explicit operation timeoutMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
ENDPOINT
Endpoint "nodes.hot_threads
".
-
-
Constructor Details
-
HotThreadsRequest
-
HotThreadsRequest
public HotThreadsRequest(java.util.function.Function<HotThreadsRequest.Builder,HotThreadsRequest.Builder> fn)
-
-
Method Details
-
nodeId
@Nullable public java.util.List<java.lang.String> nodeId()A 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 nodesAPI name:
node_id
-
ignoreIdleThreads
@Nullable public java.lang.Boolean ignoreIdleThreads()Don't show threads that are in known-idle places, such as waiting on a socket select or pulling from an empty task queue (default: true)API name:
ignore_idle_threads
-
interval
@Nullable public java.lang.String interval()The interval for the second sampling of threadsAPI name:
interval
-
snapshots
@Nullable public java.lang.Long snapshots()Number of samples of thread stacktrace (default: 10)API name:
snapshots
-
threads
@Nullable public java.lang.Long threads()Specify the number of threads to provide information for (default: 3)API name:
threads
-
threadType
API name:thread_type
-
timeout
@Nullable public java.lang.String timeout()Explicit operation timeoutAPI name:
timeout
-