Class HotThreadsRequest.Builder
java.lang.Object
co.elastic.clients.elasticsearch.nodes.HotThreadsRequest.Builder
- All Implemented Interfaces:
ObjectBuilder<HotThreadsRequest>
- Enclosing class:
- HotThreadsRequest
public static class HotThreadsRequest.Builder extends java.lang.Object implements ObjectBuilder<HotThreadsRequest>
Builder for
HotThreadsRequest.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description HotThreadsRequest.BuilderaddNodeId(java.lang.String value)Add a value tonodeId(List), creating the list if needed.HotThreadsRequestbuild()Builds aHotThreadsRequest.HotThreadsRequest.BuilderignoreIdleThreads(java.lang.Boolean value)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)HotThreadsRequest.Builderinterval(java.lang.String value)The interval for the second sampling of threadsHotThreadsRequest.BuildernodeId(java.lang.String... value)A comma-separated list of node IDs or names to limit the returned information; use_localto return information from the node you're connecting to, leave empty to get information from all nodesHotThreadsRequest.BuildernodeId(java.util.List<java.lang.String> value)A comma-separated list of node IDs or names to limit the returned information; use_localto return information from the node you're connecting to, leave empty to get information from all nodesHotThreadsRequest.Buildersnapshots(java.lang.Long value)Number of samples of thread stacktrace (default: 10)HotThreadsRequest.Builderthreads(java.lang.Long value)Specify the number of threads to provide information for (default: 3)HotThreadsRequest.BuilderthreadType(ThreadType value)API name:thread_typeHotThreadsRequest.Buildertimeout(java.lang.String value)Explicit operation timeoutMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
nodeId
A comma-separated list of node IDs or names to limit the returned information; use_localto return information from the node you're connecting to, leave empty to get information from all nodesAPI name:
node_id -
nodeId
A comma-separated list of node IDs or names to limit the returned information; use_localto return information from the node you're connecting to, leave empty to get information from all nodesAPI name:
node_id -
addNodeId
Add a value tonodeId(List), creating the list if needed. -
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
The interval for the second sampling of threadsAPI name:
interval -
snapshots
Number of samples of thread stacktrace (default: 10)API name:
snapshots -
threads
Specify the number of threads to provide information for (default: 3)API name:
threads -
threadType
API name:thread_type -
timeout
Explicit operation timeoutAPI name:
timeout -
build
Builds aHotThreadsRequest.- Specified by:
buildin interfaceObjectBuilder<HotThreadsRequest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-