Class Process
- java.lang.Object
-
- org.opensearch.client.opensearch.nodes.Process
-
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class Process extends java.lang.Object implements JsonpSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classProcess.BuilderBuilder forProcess.
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<Process>_DESERIALIZERJson deserializer forProcess
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Cpucpu()Required - API name:cpuMemoryStatsmem()Required - API name:memstatic Processof(java.util.function.Function<Process.Builder,ObjectBuilder<Process>> fn)intopenFileDescriptors()Required - API name:open_file_descriptorsvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupProcessDeserializer(ObjectDeserializer<Process.Builder> op)longtimestamp()Required - API name:timestamp
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<Process> _DESERIALIZER
Json deserializer forProcess
-
-
Method Detail
-
of
public static Process of(java.util.function.Function<Process.Builder,ObjectBuilder<Process>> fn)
-
cpu
public final Cpu cpu()
Required - API name:cpu
-
mem
public final MemoryStats mem()
Required - API name:mem
-
openFileDescriptors
public final int openFileDescriptors()
Required - API name:open_file_descriptors
-
timestamp
public final long timestamp()
Required - API name:timestamp
-
serialize
public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
-
setupProcessDeserializer
protected static void setupProcessDeserializer(ObjectDeserializer<Process.Builder> op)
-
-