Class Process
java.lang.Object
org.opensearch.client.opensearch.nodes.stats.Process
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<Process.Builder,Process>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class Process
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<Process.Builder,Process>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<Process> Json deserializer forProcess -
Method Summary
Modifier and TypeMethodDescriptionstatic Process.Builderbuilder()final ProcessCpuStatscpu()API name:cpubooleaninthashCode()final LongMaximum number of file descriptors allowed on the system, or-1if not supported.final ProcessMemoryStatsmem()API name:memstatic Processfinal LongNumber of opened file descriptors associated with the current or-1if not supported.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal LongLast time the statistics were refreshed.Create a new builderToCopyableBuilderthat is initialised with the current state of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forProcess
-
-
Method Details
-
of
-
cpu
API name:cpu -
maxFileDescriptors
Maximum number of file descriptors allowed on the system, or-1if not supported.API name:
max_file_descriptors -
mem
API name:mem -
openFileDescriptors
Number of opened file descriptors associated with the current or-1if not supported.API name:
open_file_descriptors -
timestamp
Last time the statistics were refreshed. Recorded in milliseconds since the Unix Epoch.API name:
timestamp -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<Process.Builder,Process> - Returns:
- a new builder instance.
-
builder
-
setupProcessDeserializer
-
hashCode
public int hashCode() -
equals
-