Class Process.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<Process.Builder>
co.elastic.clients.elasticsearch.nodes.Process.Builder
- All Implemented Interfaces:
WithJson<Process.Builder>
,ObjectBuilder<Process>
- Enclosing class:
- Process
public static class Process.Builder
extends WithJsonObjectBuilderBase<Process.Builder>
implements ObjectBuilder<Process>
Builder for
Process
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aProcess
.final Process.Builder
Contains CPU statistics for the node.final Process.Builder
cpu
(Function<Cpu.Builder, ObjectBuilder<Cpu>> fn) Contains CPU statistics for the node.final Process.Builder
maxFileDescriptors
(Integer value) Maximum number of file descriptors allowed on the system, or-1
if not supported.final Process.Builder
mem
(MemoryStats value) Contains virtual memory statistics for the node.final Process.Builder
Contains virtual memory statistics for the node.final Process.Builder
openFileDescriptors
(Integer value) Number of opened file descriptors associated with the current or-1
if not supported.protected Process.Builder
self()
final Process.Builder
Last time the statistics were refreshed.Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cpu
Contains CPU statistics for the node.API name:
cpu
-
cpu
Contains CPU statistics for the node.API name:
cpu
-
mem
Contains virtual memory statistics for the node.API name:
mem
-
mem
Contains virtual memory statistics for the node.API name:
mem
-
openFileDescriptors
Number of opened file descriptors associated with the current or-1
if not supported.API name:
open_file_descriptors
-
maxFileDescriptors
Maximum number of file descriptors allowed on the system, or-1
if not supported.API name:
max_file_descriptors
-
timestamp
Last time the statistics were refreshed. Recorded in milliseconds since the Unix Epoch.API name:
timestamp
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<Process.Builder>
-
build
Builds aProcess
.- Specified by:
build
in interfaceObjectBuilder<Process>
- Throws:
NullPointerException
- if some of the required fields are null.
-