Class CgroupCpu.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<CgroupCpu.Builder>
co.elastic.clients.elasticsearch.nodes.CgroupCpu.Builder
- All Implemented Interfaces:
- WithJson<CgroupCpu.Builder>,- ObjectBuilder<CgroupCpu>
- Enclosing class:
- CgroupCpu
public static class CgroupCpu.Builder
extends WithJsonObjectBuilderBase<CgroupCpu.Builder>
implements ObjectBuilder<CgroupCpu>
Builder for 
CgroupCpu.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Builds aCgroupCpu.final CgroupCpu.BuildercfsPeriodMicros(Integer value) The period of time, in microseconds, for how regularly all tasks in the same cgroup as the Elasticsearch process should have their access to CPU resources reallocated.final CgroupCpu.BuildercfsQuotaMicros(Integer value) The total amount of time, in microseconds, for which all tasks in the same cgroup as the Elasticsearch process can run during one periodcfs_period_micros.final CgroupCpu.BuildercontrolGroup(String value) Thecpucontrol group to which the Elasticsearch process belongs.protected CgroupCpu.Builderself()final CgroupCpu.Builderstat(CgroupCpuStat value) Contains CPU statistics for the node.final CgroupCpu.BuilderContains CPU statistics for the node.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- 
controlGroupThecpucontrol group to which the Elasticsearch process belongs.API name: control_group
- 
cfsPeriodMicrosThe period of time, in microseconds, for how regularly all tasks in the same cgroup as the Elasticsearch process should have their access to CPU resources reallocated.API name: cfs_period_micros
- 
cfsQuotaMicrosThe total amount of time, in microseconds, for which all tasks in the same cgroup as the Elasticsearch process can run during one periodcfs_period_micros.API name: cfs_quota_micros
- 
statContains CPU statistics for the node.API name: stat
- 
statpublic final CgroupCpu.Builder stat(Function<CgroupCpuStat.Builder, ObjectBuilder<CgroupCpuStat>> fn) Contains CPU statistics for the node.API name: stat
- 
self- Specified by:
- selfin class- WithJsonObjectBuilderBase<CgroupCpu.Builder>
 
- 
buildBuilds aCgroupCpu.- Specified by:
- buildin interface- ObjectBuilder<CgroupCpu>
- Throws:
- NullPointerException- if some of the required fields are null.
 
 
-