Class ExecutionThreadPool
java.lang.Object
co.elastic.clients.elasticsearch.watcher.ExecutionThreadPool
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<ExecutionThreadPool>Json deserializer forExecutionThreadPool -
Method Summary
Modifier and TypeMethodDescriptionfinal longmaxSize()Required - The largest size of the execution thread pool, which indicates the largest number of concurrent running watches.static ExecutionThreadPoolfinal longRequired - The number of watches that were triggered and are currently queued.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidtoString()
-
Field Details
-
_DESERIALIZER
Json deserializer forExecutionThreadPool
-
-
Method Details
-
of
public static ExecutionThreadPool of(Function<ExecutionThreadPool.Builder, ObjectBuilder<ExecutionThreadPool>> fn) -
maxSize
public final long maxSize()Required - The largest size of the execution thread pool, which indicates the largest number of concurrent running watches.API name:
max_size -
queueSize
public final long queueSize()Required - The number of watches that were triggered and are currently queued.API name:
queue_size -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupExecutionThreadPoolDeserializer
protected static void setupExecutionThreadPoolDeserializer(ObjectDeserializer<ExecutionThreadPool.Builder> op)
-