Class ExecutionThreadPool
java.lang.Object
co.elastic.clients.elasticsearch.watcher.ExecutionThreadPool
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class ExecutionThreadPool extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classExecutionThreadPool.BuilderBuilder forExecutionThreadPool. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<ExecutionThreadPool>_DESERIALIZERJson deserializer forExecutionThreadPool -
Constructor Summary
Constructors Constructor Description ExecutionThreadPool(ExecutionThreadPool.Builder builder)ExecutionThreadPool(java.util.function.Function<ExecutionThreadPool.Builder,ExecutionThreadPool.Builder> fn) -
Method Summary
Modifier and Type Method Description longmaxSize()Required - API name:max_sizelongqueueSize()Required - API name:queue_sizevoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupExecutionThreadPoolDeserializer(DelegatingDeserializer<ExecutionThreadPool.Builder> op)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forExecutionThreadPool
-
-
Constructor Details
-
ExecutionThreadPool
-
ExecutionThreadPool
public ExecutionThreadPool(java.util.function.Function<ExecutionThreadPool.Builder,ExecutionThreadPool.Builder> fn)
-
-
Method Details
-
maxSize
public long maxSize()Required - API name:max_size -
queueSize
public long queueSize()Required - API name:queue_size -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupExecutionThreadPoolDeserializer
protected static void setupExecutionThreadPoolDeserializer(DelegatingDeserializer<ExecutionThreadPool.Builder> op)
-