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