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 class
ExecutionThreadPool.Builder
Builder forExecutionThreadPool
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<ExecutionThreadPool>
_DESERIALIZER
Json 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 long
maxSize()
Required - API name:max_size
long
queueSize()
Required - API name:queue_size
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
setupExecutionThreadPoolDeserializer(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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupExecutionThreadPoolDeserializer
protected static void setupExecutionThreadPoolDeserializer(DelegatingDeserializer<ExecutionThreadPool.Builder> op)
-