Class CgroupMemory.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<CgroupMemory.Builder>
co.elastic.clients.elasticsearch.nodes.CgroupMemory.Builder
- All Implemented Interfaces:
- WithJson<CgroupMemory.Builder>,- ObjectBuilder<CgroupMemory>
- Enclosing class:
- CgroupMemory
public static class CgroupMemory.Builder
extends WithJsonObjectBuilderBase<CgroupMemory.Builder>
implements ObjectBuilder<CgroupMemory>
Builder for 
CgroupMemory.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Builds aCgroupMemory.final CgroupMemory.BuildercontrolGroup(String value) Thememorycontrol group to which the Elasticsearch process belongs.final CgroupMemory.BuilderlimitInBytes(String value) The maximum amount of user memory (including file cache) allowed for all tasks in the same cgroup as the Elasticsearch process.protected CgroupMemory.Builderself()final CgroupMemory.BuilderusageInBytes(String value) The total current memory usage by processes in the cgroup, in bytes, by all tasks in the same cgroup as the Elasticsearch process.Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBasewithJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
controlGroupThememorycontrol group to which the Elasticsearch process belongs.API name: control_group
- 
limitInBytesThe maximum amount of user memory (including file cache) allowed for all tasks in the same cgroup as the Elasticsearch process. This value can be too big to store in along, so is returned as a string so that the value returned can exactly match what the underlying operating system interface returns. Any value that is too large to parse into alongalmost certainly means no limit has been set for the cgroup.API name: limit_in_bytes
- 
usageInBytesThe total current memory usage by processes in the cgroup, in bytes, by all tasks in the same cgroup as the Elasticsearch process. This value is stored as a string for consistency withlimit_in_bytes.API name: usage_in_bytes
- 
self- Specified by:
- selfin class- WithJsonObjectBuilderBase<CgroupMemory.Builder>
 
- 
buildBuilds aCgroupMemory.- Specified by:
- buildin interface- ObjectBuilder<CgroupMemory>
- Throws:
- NullPointerException- if some of the required fields are null.
 
 
-