Class ThreadCount.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<ThreadCount.Builder>
co.elastic.clients.elasticsearch.nodes.ThreadCount.Builder
- All Implemented Interfaces:
WithJson<ThreadCount.Builder>,ObjectBuilder<ThreadCount>
- Enclosing class:
- ThreadCount
public static class ThreadCount.Builder
extends WithJsonObjectBuilderBase<ThreadCount.Builder>
implements ObjectBuilder<ThreadCount>
Builder for
ThreadCount.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal ThreadCount.BuilderNumber of active threads in the thread pool.build()Builds aThreadCount.final ThreadCount.BuilderNumber of tasks completed by the thread pool executor.final ThreadCount.BuilderHighest number of active threads in the thread pool.final ThreadCount.BuilderNumber of tasks in queue for the thread pool.final ThreadCount.BuilderNumber of tasks rejected by the thread pool executor.protected ThreadCount.Builderself()final ThreadCount.BuilderNumber of threads in the thread pool.Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
active
Number of active threads in the thread pool.API name:
active -
completed
Number of tasks completed by the thread pool executor.API name:
completed -
largest
Highest number of active threads in the thread pool.API name:
largest -
queue
Number of tasks in queue for the thread pool.API name:
queue -
rejected
Number of tasks rejected by the thread pool executor.API name:
rejected -
threads
Number of threads in the thread pool.API name:
threads -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<ThreadCount.Builder>
-
build
Builds aThreadCount.- Specified by:
buildin interfaceObjectBuilder<ThreadCount>- Throws:
NullPointerException- if some of the required fields are null.
-