Class ExecutionThreadPool
java.lang.Object
co.elastic.clients.elasticsearch.watcher.ExecutionThreadPool
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class ExecutionThreadPool extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
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 -
Method Summary
Modifier and Type Method Description longmaxSize()Required - API name:max_sizestatic ExecutionThreadPoolof(java.util.function.Function<ExecutionThreadPool.Builder,ObjectBuilder<ExecutionThreadPool>> fn)longqueueSize()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(ObjectDeserializer<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
-
-
Method Details
-
of
public static ExecutionThreadPool of(java.util.function.Function<ExecutionThreadPool.Builder,ObjectBuilder<ExecutionThreadPool>> fn) -
maxSize
public final long maxSize()Required - API name:max_size -
queueSize
public final long queueSize()Required - API name:queue_size -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupExecutionThreadPoolDeserializer
protected static void setupExecutionThreadPoolDeserializer(ObjectDeserializer<ExecutionThreadPool.Builder> op)
-