Class HotThread
java.lang.Object
co.elastic.clients.elasticsearch.nodes.hot_threads.HotThread
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class HotThread extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HotThread.Builder
Builder forHotThread
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<HotThread>
_DESERIALIZER
Json deserializer forHotThread
-
Constructor Summary
Constructors Constructor Description HotThread(HotThread.Builder builder)
HotThread(java.util.function.Function<HotThread.Builder,HotThread.Builder> fn)
-
Method Summary
Modifier and Type Method Description java.util.List<java.lang.String>
hosts()
Required - API name:hosts
java.lang.String
nodeId()
Required - API name:node_id
java.lang.String
nodeName()
Required - API name:node_name
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
setupHotThreadDeserializer(DelegatingDeserializer<HotThread.Builder> op)
java.util.List<java.lang.String>
threads()
Required - API name:threads
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forHotThread
-
-
Constructor Details
-
HotThread
-
HotThread
-
-
Method Details
-
hosts
public java.util.List<java.lang.String> hosts()Required - API name:hosts
-
nodeId
public java.lang.String nodeId()Required - API name:node_id
-
nodeName
public java.lang.String nodeName()Required - API name:node_name
-
threads
public java.util.List<java.lang.String> threads()Required - API name:threads
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupHotThreadDeserializer
-