Class ThreadCount.Builder
java.lang.Object
co.elastic.clients.elasticsearch.nodes.ThreadCount.Builder
- All Implemented Interfaces:
ObjectBuilder<ThreadCount>
- Enclosing class:
- ThreadCount
public static class ThreadCount.Builder extends java.lang.Object implements ObjectBuilder<ThreadCount>
Builder for
ThreadCount.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description ThreadCount.Builderactive(long value)Required - API name:activeThreadCountbuild()Builds aThreadCount.ThreadCount.Buildercompleted(long value)Required - API name:completedThreadCount.Builderlargest(long value)Required - API name:largestThreadCount.Builderqueue(long value)Required - API name:queueThreadCount.Builderrejected(long value)Required - API name:rejectedThreadCount.Builderthreads(long value)Required - API name:threadsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
active
Required - API name:active -
completed
Required - API name:completed -
largest
Required - API name:largest -
queue
Required - API name:queue -
rejected
Required - API name:rejected -
threads
Required - API name:threads -
build
Builds aThreadCount.- Specified by:
buildin interfaceObjectBuilder<ThreadCount>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-