Class ExecutionThreadPool.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<ExecutionThreadPool.Builder>
co.elastic.clients.elasticsearch.watcher.ExecutionThreadPool.Builder
- All Implemented Interfaces:
WithJson<ExecutionThreadPool.Builder>,ObjectBuilder<ExecutionThreadPool>
- Enclosing class:
- ExecutionThreadPool
public static class ExecutionThreadPool.Builder
extends WithJsonObjectBuilderBase<ExecutionThreadPool.Builder>
implements ObjectBuilder<ExecutionThreadPool>
Builder for
ExecutionThreadPool.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aExecutionThreadPool.maxSize(long value) Required - The largest size of the execution thread pool, which indicates the largest number of concurrent running watches.queueSize(long value) Required - The number of watches that were triggered and are currently queued.protected ExecutionThreadPool.Builderself()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
-
maxSize
Required - The largest size of the execution thread pool, which indicates the largest number of concurrent running watches.API name:
max_size -
queueSize
Required - The number of watches that were triggered and are currently queued.API name:
queue_size -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<ExecutionThreadPool.Builder>
-
build
Builds aExecutionThreadPool.- Specified by:
buildin interfaceObjectBuilder<ExecutionThreadPool>- Throws:
NullPointerException- if some of the required fields are null.
-