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>
  • Field Details

  • Method Details

    • of

    • cpu

      @Nullable public final ProcessCpuStats cpu()
      API name: cpu
    • maxFileDescriptors

      @Nullable public final Long maxFileDescriptors()
      Maximum number of file descriptors allowed on the system, or -1 if not supported.

      API name: max_file_descriptors

    • mem

      @Nullable public final ProcessMemoryStats mem()
      API name: mem
    • openFileDescriptors

      @Nullable public final Long openFileDescriptors()
      Number of opened file descriptors associated with the current or -1 if not supported.

      API name: open_file_descriptors

    • timestamp

      @Nullable public final Long timestamp()
      Last time the statistics were refreshed. Recorded in milliseconds since the Unix Epoch.

      API name: timestamp

    • serialize

      public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
      Serialize this object to JSON.
      Specified by:
      serialize in interface JsonpSerializable
    • serializeInternal

      protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
    • toBuilder

      @Nonnull public Process.Builder toBuilder()
      Description copied from interface: ToCopyableBuilder
      Create a new builder ToCopyableBuilder that is initialised with the current state of this object.
      Specified by:
      toBuilder in interface ToCopyableBuilder<Process.Builder,Process>
      Returns:
      a new builder instance.
    • builder

      @Nonnull public static Process.Builder builder()
    • setupProcessDeserializer

      protected static void setupProcessDeserializer(ObjectDeserializer<Process.Builder> op)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object