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 long
maxSize()
Required - The largest size of the execution thread pool, which indicates the largest number of concurrent running watches.static ExecutionThreadPool
final long
Required - The number of watches that were triggered and are currently queued.void
serialize
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected void
serializeInternal
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static void
toString()
-
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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupExecutionThreadPoolDeserializer
protected static void setupExecutionThreadPoolDeserializer(ObjectDeserializer<ExecutionThreadPool.Builder> op)
-