Class ThreadPoolRequest
java.lang.Object
org.opensearch.client.opensearch._types.RequestBase
org.opensearch.client.opensearch.cat.CatRequestBase
org.opensearch.client.opensearch.cat.ThreadPoolRequest
- All Implemented Interfaces:
ToCopyableBuilder<ThreadPoolRequest.Builder,ThreadPoolRequest>
@Generated("org.opensearch.client.codegen.CodeGenerator")
public final class ThreadPoolRequest
extends CatRequestBase
implements ToCopyableBuilder<ThreadPoolRequest.Builder,ThreadPoolRequest>
Returns cluster-wide thread pool statistics per node. By default the active, queued, and rejected statistics are returned for all thread
pools.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.opensearch.client.opensearch.cat.CatRequestBase
CatRequestBase.AbstractBuilder<BuilderT extends CatRequestBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Endpoint<ThreadPoolRequest, ThreadPoolResponse, ErrorResponse> Endpoint "cat.thread_pool". -
Method Summary
Modifier and TypeMethodDescriptionprotected voidapplyQueryParameters(Map<String, String> params) static ThreadPoolRequest.Builderbuilder()final TimeA timeout for connection to the cluster manager node.booleaninthashCode()final TimeDeprecated.static ThreadPoolRequestfinal Integersize()The multiplier in which to display values.A comma-separated list of thread pool names used to limit the request.Create a new builderToCopyableBuilderthat is initialised with the current state of this object.Methods inherited from class org.opensearch.client.opensearch.cat.CatRequestBase
headers, sortMethods inherited from class org.opensearch.client.opensearch._types.RequestBase
errorTrace, humanMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_ENDPOINT
Endpoint "cat.thread_pool".
-
-
Method Details
-
of
public static ThreadPoolRequest of(Function<ThreadPoolRequest.Builder, ObjectBuilder<ThreadPoolRequest>> fn) -
clusterManagerTimeout
A timeout for connection to the cluster manager node.API name:
cluster_manager_timeout -
masterTimeout
Deprecated.The amount of time allowed to establish a connection to the cluster manager node.API name:
master_timeout -
size
The multiplier in which to display values.API name:
size -
threadPoolPatterns
A comma-separated list of thread pool names used to limit the request. Accepts wildcard expressions.API name:
thread_pool_patterns -
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<ThreadPoolRequest.Builder,ThreadPoolRequest> - Returns:
- a new builder instance.
-
builder
-
applyQueryParameters
- Overrides:
applyQueryParametersin classCatRequestBase
-
hashCode
public int hashCode() -
equals
-