Class ThreadCount
java.lang.Object
co.elastic.clients.elasticsearch.nodes.ThreadCount
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class ThreadCount extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classThreadCount.BuilderBuilder forThreadCount. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<ThreadCount>_DESERIALIZERJson deserializer forThreadCount -
Method Summary
Modifier and Type Method Description java.lang.Longactive()API name:activejava.lang.Longcompleted()API name:completedjava.lang.Longlargest()API name:largeststatic ThreadCountof(java.util.function.Function<ThreadCount.Builder,ObjectBuilder<ThreadCount>> fn)java.lang.Longqueue()API name:queuejava.lang.Longrejected()API name:rejectedvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupThreadCountDeserializer(ObjectDeserializer<ThreadCount.Builder> op)java.lang.Longthreads()API name:threadsjava.lang.StringtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forThreadCount
-
-
Method Details
-
of
public static ThreadCount of(java.util.function.Function<ThreadCount.Builder,ObjectBuilder<ThreadCount>> fn) -
active
@Nullable public final java.lang.Long active()API name:active -
completed
@Nullable public final java.lang.Long completed()API name:completed -
largest
@Nullable public final java.lang.Long largest()API name:largest -
queue
@Nullable public final java.lang.Long queue()API name:queue -
rejected
@Nullable public final java.lang.Long rejected()API name:rejected -
threads
@Nullable public final java.lang.Long threads()API name:threads -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupThreadCountDeserializer
-