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.BuilderContains CPU statistics for the node.final Process.Buildercpu(Function<Cpu.Builder, ObjectBuilder<Cpu>> fn) Contains CPU statistics for the node.final Process.BuildermaxFileDescriptors(Integer value) Maximum number of file descriptors allowed on the system, or-1if not supported.final Process.Buildermem(MemoryStats value) Contains virtual memory statistics for the node.final Process.BuilderContains virtual memory statistics for the node.final Process.BuilderopenFileDescriptors(Integer value) Number of opened file descriptors associated with the current or-1if not supported.protected Process.Builderself()final Process.BuilderLast time the statistics were refreshed.Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods 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-1if not supported.API name:
open_file_descriptors -
maxFileDescriptors
Maximum number of file descriptors allowed on the system, or-1if 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:
selfin classWithJsonObjectBuilderBase<Process.Builder>
-
build
Builds aProcess.- Specified by:
buildin interfaceObjectBuilder<Process>- Throws:
NullPointerException- if some of the required fields are null.
-