SysctlConfig Class

  • java.lang.Object
    • com.azure.resourcemanager.containerservice.models.SysctlConfig

Implements

public final class SysctlConfig
implements JsonSerializable<SysctlConfig>

Sysctl settings for Linux agent nodes.

Constructor Summary

Constructor Description
SysctlConfig()

Creates an instance of SysctlConfig class.

Method Summary

Modifier and Type Method and Description
static SysctlConfig fromJson(JsonReader jsonReader)

Reads an instance of SysctlConfig from the JsonReader.

Integer fsAioMaxNr()

Get the fsAioMaxNr property: Sysctl setting fs.aio-max-nr.

Integer fsFileMax()

Get the fsFileMax property: Sysctl setting fs.file-max.

Integer fsInotifyMaxUserWatches()

Get the fsInotifyMaxUserWatches property: Sysctl setting fs.inotify.max_user_watches.

Integer fsNrOpen()

Get the fsNrOpen property: Sysctl setting fs.nr_open.

Integer kernelThreadsMax()

Get the kernelThreadsMax property: Sysctl setting kernel.threads-max.

Integer netCoreNetdevMaxBacklog()

Get the netCoreNetdevMaxBacklog property: Sysctl setting net.core.netdev_max_backlog.

Integer netCoreOptmemMax()

Get the netCoreOptmemMax property: Sysctl setting net.core.optmem_max.

Integer netCoreRmemDefault()

Get the netCoreRmemDefault property: Sysctl setting net.core.rmem_default.

Integer netCoreRmemMax()

Get the netCoreRmemMax property: Sysctl setting net.core.rmem_max.

Integer netCoreSomaxconn()

Get the netCoreSomaxconn property: Sysctl setting net.core.somaxconn.

Integer netCoreWmemDefault()

Get the netCoreWmemDefault property: Sysctl setting net.core.wmem_default.

Integer netCoreWmemMax()

Get the netCoreWmemMax property: Sysctl setting net.core.wmem_max.

String netIpv4IpLocalPortRange()

Get the netIpv4IpLocalPortRange property: Sysctl setting net.ipv4.ip_local_port_range.

Integer netIpv4NeighDefaultGcThresh1()

Get the netIpv4NeighDefaultGcThresh1 property: Sysctl setting net.ipv4.neigh.default.gc_thresh1.

Integer netIpv4NeighDefaultGcThresh2()

Get the netIpv4NeighDefaultGcThresh2 property: Sysctl setting net.ipv4.neigh.default.gc_thresh2.

Integer netIpv4NeighDefaultGcThresh3()

Get the netIpv4NeighDefaultGcThresh3 property: Sysctl setting net.ipv4.neigh.default.gc_thresh3.

Integer netIpv4TcpFinTimeout()

Get the netIpv4TcpFinTimeout property: Sysctl setting net.ipv4.tcp_fin_timeout.

Integer netIpv4TcpKeepaliveProbes()

Get the netIpv4TcpKeepaliveProbes property: Sysctl setting net.ipv4.tcp_keepalive_probes.

Integer netIpv4TcpKeepaliveTime()

Get the netIpv4TcpKeepaliveTime property: Sysctl setting net.ipv4.tcp_keepalive_time.

Integer netIpv4TcpMaxSynBacklog()

Get the netIpv4TcpMaxSynBacklog property: Sysctl setting net.ipv4.tcp_max_syn_backlog.

Integer netIpv4TcpMaxTwBuckets()

Get the netIpv4TcpMaxTwBuckets property: Sysctl setting net.ipv4.tcp_max_tw_buckets.

Boolean netIpv4TcpTwReuse()

Get the netIpv4TcpTwReuse property: Sysctl setting net.ipv4.tcp_tw_reuse.

Integer netIpv4TcpkeepaliveIntvl()

Get the netIpv4TcpkeepaliveIntvl property: Sysctl setting net.ipv4.tcp_keepalive_intvl.

Integer netNetfilterNfConntrackBuckets()

Get the netNetfilterNfConntrackBuckets property: Sysctl setting net.netfilter.nf_conntrack_buckets.

Integer netNetfilterNfConntrackMax()

Get the netNetfilterNfConntrackMax property: Sysctl setting net.netfilter.nf_conntrack_max.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Integer vmMaxMapCount()

Get the vmMaxMapCount property: Sysctl setting vm.max_map_count.

Integer vmSwappiness()

Get the vmSwappiness property: Sysctl setting vm.swappiness.

Integer vmVfsCachePressure()

Get the vmVfsCachePressure property: Sysctl setting vm.vfs_cache_pressure.

SysctlConfig withFsAioMaxNr(Integer fsAioMaxNr)

Set the fsAioMaxNr property: Sysctl setting fs.aio-max-nr.

SysctlConfig withFsFileMax(Integer fsFileMax)

Set the fsFileMax property: Sysctl setting fs.file-max.

SysctlConfig withFsInotifyMaxUserWatches(Integer fsInotifyMaxUserWatches)

Set the fsInotifyMaxUserWatches property: Sysctl setting fs.inotify.max_user_watches.

SysctlConfig withFsNrOpen(Integer fsNrOpen)

Set the fsNrOpen property: Sysctl setting fs.nr_open.

SysctlConfig withKernelThreadsMax(Integer kernelThreadsMax)

Set the kernelThreadsMax property: Sysctl setting kernel.threads-max.

SysctlConfig withNetCoreNetdevMaxBacklog(Integer netCoreNetdevMaxBacklog)

Set the netCoreNetdevMaxBacklog property: Sysctl setting net.core.netdev_max_backlog.

SysctlConfig withNetCoreOptmemMax(Integer netCoreOptmemMax)

Set the netCoreOptmemMax property: Sysctl setting net.core.optmem_max.

SysctlConfig withNetCoreRmemDefault(Integer netCoreRmemDefault)

Set the netCoreRmemDefault property: Sysctl setting net.core.rmem_default.

SysctlConfig withNetCoreRmemMax(Integer netCoreRmemMax)

Set the netCoreRmemMax property: Sysctl setting net.core.rmem_max.

SysctlConfig withNetCoreSomaxconn(Integer netCoreSomaxconn)

Set the netCoreSomaxconn property: Sysctl setting net.core.somaxconn.

SysctlConfig withNetCoreWmemDefault(Integer netCoreWmemDefault)

Set the netCoreWmemDefault property: Sysctl setting net.core.wmem_default.

SysctlConfig withNetCoreWmemMax(Integer netCoreWmemMax)

Set the netCoreWmemMax property: Sysctl setting net.core.wmem_max.

SysctlConfig withNetIpv4IpLocalPortRange(String netIpv4IpLocalPortRange)

Set the netIpv4IpLocalPortRange property: Sysctl setting net.ipv4.ip_local_port_range.

SysctlConfig withNetIpv4NeighDefaultGcThresh1(Integer netIpv4NeighDefaultGcThresh1)

Set the netIpv4NeighDefaultGcThresh1 property: Sysctl setting net.ipv4.neigh.default.gc_thresh1.

SysctlConfig withNetIpv4NeighDefaultGcThresh2(Integer netIpv4NeighDefaultGcThresh2)

Set the netIpv4NeighDefaultGcThresh2 property: Sysctl setting net.ipv4.neigh.default.gc_thresh2.

SysctlConfig withNetIpv4NeighDefaultGcThresh3(Integer netIpv4NeighDefaultGcThresh3)

Set the netIpv4NeighDefaultGcThresh3 property: Sysctl setting net.ipv4.neigh.default.gc_thresh3.

SysctlConfig withNetIpv4TcpFinTimeout(Integer netIpv4TcpFinTimeout)

Set the netIpv4TcpFinTimeout property: Sysctl setting net.ipv4.tcp_fin_timeout.

SysctlConfig withNetIpv4TcpKeepaliveProbes(Integer netIpv4TcpKeepaliveProbes)

Set the netIpv4TcpKeepaliveProbes property: Sysctl setting net.ipv4.tcp_keepalive_probes.

SysctlConfig withNetIpv4TcpKeepaliveTime(Integer netIpv4TcpKeepaliveTime)

Set the netIpv4TcpKeepaliveTime property: Sysctl setting net.ipv4.tcp_keepalive_time.

SysctlConfig withNetIpv4TcpMaxSynBacklog(Integer netIpv4TcpMaxSynBacklog)

Set the netIpv4TcpMaxSynBacklog property: Sysctl setting net.ipv4.tcp_max_syn_backlog.

SysctlConfig withNetIpv4TcpMaxTwBuckets(Integer netIpv4TcpMaxTwBuckets)

Set the netIpv4TcpMaxTwBuckets property: Sysctl setting net.ipv4.tcp_max_tw_buckets.

SysctlConfig withNetIpv4TcpTwReuse(Boolean netIpv4TcpTwReuse)

Set the netIpv4TcpTwReuse property: Sysctl setting net.ipv4.tcp_tw_reuse.

SysctlConfig withNetIpv4TcpkeepaliveIntvl(Integer netIpv4TcpkeepaliveIntvl)

Set the netIpv4TcpkeepaliveIntvl property: Sysctl setting net.ipv4.tcp_keepalive_intvl.

SysctlConfig withNetNetfilterNfConntrackBuckets(Integer netNetfilterNfConntrackBuckets)

Set the netNetfilterNfConntrackBuckets property: Sysctl setting net.netfilter.nf_conntrack_buckets.

SysctlConfig withNetNetfilterNfConntrackMax(Integer netNetfilterNfConntrackMax)

Set the netNetfilterNfConntrackMax property: Sysctl setting net.netfilter.nf_conntrack_max.

SysctlConfig withVmMaxMapCount(Integer vmMaxMapCount)

Set the vmMaxMapCount property: Sysctl setting vm.max_map_count.

SysctlConfig withVmSwappiness(Integer vmSwappiness)

Set the vmSwappiness property: Sysctl setting vm.swappiness.

SysctlConfig withVmVfsCachePressure(Integer vmVfsCachePressure)

Set the vmVfsCachePressure property: Sysctl setting vm.vfs_cache_pressure.

Methods inherited from java.lang.Object

Constructor Details

SysctlConfig

public SysctlConfig()

Creates an instance of SysctlConfig class.

Method Details

fromJson

public static SysctlConfig fromJson(JsonReader jsonReader)

Reads an instance of SysctlConfig from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of SysctlConfig if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the SysctlConfig.

fsAioMaxNr

public Integer fsAioMaxNr()

Get the fsAioMaxNr property: Sysctl setting fs.aio-max-nr.

Returns:

the fsAioMaxNr value.

fsFileMax

public Integer fsFileMax()

Get the fsFileMax property: Sysctl setting fs.file-max.

Returns:

the fsFileMax value.

fsInotifyMaxUserWatches

public Integer fsInotifyMaxUserWatches()

Get the fsInotifyMaxUserWatches property: Sysctl setting fs.inotify.max_user_watches.

Returns:

the fsInotifyMaxUserWatches value.

fsNrOpen

public Integer fsNrOpen()

Get the fsNrOpen property: Sysctl setting fs.nr_open.

Returns:

the fsNrOpen value.

kernelThreadsMax

public Integer kernelThreadsMax()

Get the kernelThreadsMax property: Sysctl setting kernel.threads-max.

Returns:

the kernelThreadsMax value.

netCoreNetdevMaxBacklog

public Integer netCoreNetdevMaxBacklog()

Get the netCoreNetdevMaxBacklog property: Sysctl setting net.core.netdev_max_backlog.

Returns:

the netCoreNetdevMaxBacklog value.

netCoreOptmemMax

public Integer netCoreOptmemMax()

Get the netCoreOptmemMax property: Sysctl setting net.core.optmem_max.

Returns:

the netCoreOptmemMax value.

netCoreRmemDefault

public Integer netCoreRmemDefault()

Get the netCoreRmemDefault property: Sysctl setting net.core.rmem_default.

Returns:

the netCoreRmemDefault value.

netCoreRmemMax

public Integer netCoreRmemMax()

Get the netCoreRmemMax property: Sysctl setting net.core.rmem_max.

Returns:

the netCoreRmemMax value.

netCoreSomaxconn

public Integer netCoreSomaxconn()

Get the netCoreSomaxconn property: Sysctl setting net.core.somaxconn.

Returns:

the netCoreSomaxconn value.

netCoreWmemDefault

public Integer netCoreWmemDefault()

Get the netCoreWmemDefault property: Sysctl setting net.core.wmem_default.

Returns:

the netCoreWmemDefault value.

netCoreWmemMax

public Integer netCoreWmemMax()

Get the netCoreWmemMax property: Sysctl setting net.core.wmem_max.

Returns:

the netCoreWmemMax value.

netIpv4IpLocalPortRange

public String netIpv4IpLocalPortRange()

Get the netIpv4IpLocalPortRange property: Sysctl setting net.ipv4.ip_local_port_range.

Returns:

the netIpv4IpLocalPortRange value.

netIpv4NeighDefaultGcThresh1

public Integer netIpv4NeighDefaultGcThresh1()

Get the netIpv4NeighDefaultGcThresh1 property: Sysctl setting net.ipv4.neigh.default.gc_thresh1.

Returns:

the netIpv4NeighDefaultGcThresh1 value.

netIpv4NeighDefaultGcThresh2

public Integer netIpv4NeighDefaultGcThresh2()

Get the netIpv4NeighDefaultGcThresh2 property: Sysctl setting net.ipv4.neigh.default.gc_thresh2.

Returns:

the netIpv4NeighDefaultGcThresh2 value.

netIpv4NeighDefaultGcThresh3

public Integer netIpv4NeighDefaultGcThresh3()

Get the netIpv4NeighDefaultGcThresh3 property: Sysctl setting net.ipv4.neigh.default.gc_thresh3.

Returns:

the netIpv4NeighDefaultGcThresh3 value.

netIpv4TcpFinTimeout

public Integer netIpv4TcpFinTimeout()

Get the netIpv4TcpFinTimeout property: Sysctl setting net.ipv4.tcp_fin_timeout.

Returns:

the netIpv4TcpFinTimeout value.

netIpv4TcpKeepaliveProbes

public Integer netIpv4TcpKeepaliveProbes()

Get the netIpv4TcpKeepaliveProbes property: Sysctl setting net.ipv4.tcp_keepalive_probes.

Returns:

the netIpv4TcpKeepaliveProbes value.

netIpv4TcpKeepaliveTime

public Integer netIpv4TcpKeepaliveTime()

Get the netIpv4TcpKeepaliveTime property: Sysctl setting net.ipv4.tcp_keepalive_time.

Returns:

the netIpv4TcpKeepaliveTime value.

netIpv4TcpMaxSynBacklog

public Integer netIpv4TcpMaxSynBacklog()

Get the netIpv4TcpMaxSynBacklog property: Sysctl setting net.ipv4.tcp_max_syn_backlog.

Returns:

the netIpv4TcpMaxSynBacklog value.

netIpv4TcpMaxTwBuckets

public Integer netIpv4TcpMaxTwBuckets()

Get the netIpv4TcpMaxTwBuckets property: Sysctl setting net.ipv4.tcp_max_tw_buckets.

Returns:

the netIpv4TcpMaxTwBuckets value.

netIpv4TcpTwReuse

public Boolean netIpv4TcpTwReuse()

Get the netIpv4TcpTwReuse property: Sysctl setting net.ipv4.tcp_tw_reuse.

Returns:

the netIpv4TcpTwReuse value.

netIpv4TcpkeepaliveIntvl

public Integer netIpv4TcpkeepaliveIntvl()

Get the netIpv4TcpkeepaliveIntvl property: Sysctl setting net.ipv4.tcp_keepalive_intvl.

Returns:

the netIpv4TcpkeepaliveIntvl value.

netNetfilterNfConntrackBuckets

public Integer netNetfilterNfConntrackBuckets()

Get the netNetfilterNfConntrackBuckets property: Sysctl setting net.netfilter.nf_conntrack_buckets.

Returns:

the netNetfilterNfConntrackBuckets value.

netNetfilterNfConntrackMax

public Integer netNetfilterNfConntrackMax()

Get the netNetfilterNfConntrackMax property: Sysctl setting net.netfilter.nf_conntrack_max.

Returns:

the netNetfilterNfConntrackMax value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

vmMaxMapCount

public Integer vmMaxMapCount()

Get the vmMaxMapCount property: Sysctl setting vm.max_map_count.

Returns:

the vmMaxMapCount value.

vmSwappiness

public Integer vmSwappiness()

Get the vmSwappiness property: Sysctl setting vm.swappiness.

Returns:

the vmSwappiness value.

vmVfsCachePressure

public Integer vmVfsCachePressure()

Get the vmVfsCachePressure property: Sysctl setting vm.vfs_cache_pressure.

Returns:

the vmVfsCachePressure value.

withFsAioMaxNr

public SysctlConfig withFsAioMaxNr(Integer fsAioMaxNr)

Set the fsAioMaxNr property: Sysctl setting fs.aio-max-nr.

Parameters:

fsAioMaxNr - the fsAioMaxNr value to set.

Returns:

the SysctlConfig object itself.

withFsFileMax

public SysctlConfig withFsFileMax(Integer fsFileMax)

Set the fsFileMax property: Sysctl setting fs.file-max.

Parameters:

fsFileMax - the fsFileMax value to set.

Returns:

the SysctlConfig object itself.

withFsInotifyMaxUserWatches

public SysctlConfig withFsInotifyMaxUserWatches(Integer fsInotifyMaxUserWatches)

Set the fsInotifyMaxUserWatches property: Sysctl setting fs.inotify.max_user_watches.

Parameters:

fsInotifyMaxUserWatches - the fsInotifyMaxUserWatches value to set.

Returns:

the SysctlConfig object itself.

withFsNrOpen

public SysctlConfig withFsNrOpen(Integer fsNrOpen)

Set the fsNrOpen property: Sysctl setting fs.nr_open.

Parameters:

fsNrOpen - the fsNrOpen value to set.

Returns:

the SysctlConfig object itself.

withKernelThreadsMax

public SysctlConfig withKernelThreadsMax(Integer kernelThreadsMax)

Set the kernelThreadsMax property: Sysctl setting kernel.threads-max.

Parameters:

kernelThreadsMax - the kernelThreadsMax value to set.

Returns:

the SysctlConfig object itself.

withNetCoreNetdevMaxBacklog

public SysctlConfig withNetCoreNetdevMaxBacklog(Integer netCoreNetdevMaxBacklog)

Set the netCoreNetdevMaxBacklog property: Sysctl setting net.core.netdev_max_backlog.

Parameters:

netCoreNetdevMaxBacklog - the netCoreNetdevMaxBacklog value to set.

Returns:

the SysctlConfig object itself.

withNetCoreOptmemMax

public SysctlConfig withNetCoreOptmemMax(Integer netCoreOptmemMax)

Set the netCoreOptmemMax property: Sysctl setting net.core.optmem_max.

Parameters:

netCoreOptmemMax - the netCoreOptmemMax value to set.

Returns:

the SysctlConfig object itself.

withNetCoreRmemDefault

public SysctlConfig withNetCoreRmemDefault(Integer netCoreRmemDefault)

Set the netCoreRmemDefault property: Sysctl setting net.core.rmem_default.

Parameters:

netCoreRmemDefault - the netCoreRmemDefault value to set.

Returns:

the SysctlConfig object itself.

withNetCoreRmemMax

public SysctlConfig withNetCoreRmemMax(Integer netCoreRmemMax)

Set the netCoreRmemMax property: Sysctl setting net.core.rmem_max.

Parameters:

netCoreRmemMax - the netCoreRmemMax value to set.

Returns:

the SysctlConfig object itself.

withNetCoreSomaxconn

public SysctlConfig withNetCoreSomaxconn(Integer netCoreSomaxconn)

Set the netCoreSomaxconn property: Sysctl setting net.core.somaxconn.

Parameters:

netCoreSomaxconn - the netCoreSomaxconn value to set.

Returns:

the SysctlConfig object itself.

withNetCoreWmemDefault

public SysctlConfig withNetCoreWmemDefault(Integer netCoreWmemDefault)

Set the netCoreWmemDefault property: Sysctl setting net.core.wmem_default.

Parameters:

netCoreWmemDefault - the netCoreWmemDefault value to set.

Returns:

the SysctlConfig object itself.

withNetCoreWmemMax

public SysctlConfig withNetCoreWmemMax(Integer netCoreWmemMax)

Set the netCoreWmemMax property: Sysctl setting net.core.wmem_max.

Parameters:

netCoreWmemMax - the netCoreWmemMax value to set.

Returns:

the SysctlConfig object itself.

withNetIpv4IpLocalPortRange

public SysctlConfig withNetIpv4IpLocalPortRange(String netIpv4IpLocalPortRange)

Set the netIpv4IpLocalPortRange property: Sysctl setting net.ipv4.ip_local_port_range.

Parameters:

netIpv4IpLocalPortRange - the netIpv4IpLocalPortRange value to set.

Returns:

the SysctlConfig object itself.

withNetIpv4NeighDefaultGcThresh1

public SysctlConfig withNetIpv4NeighDefaultGcThresh1(Integer netIpv4NeighDefaultGcThresh1)

Set the netIpv4NeighDefaultGcThresh1 property: Sysctl setting net.ipv4.neigh.default.gc_thresh1.

Parameters:

netIpv4NeighDefaultGcThresh1 - the netIpv4NeighDefaultGcThresh1 value to set.

Returns:

the SysctlConfig object itself.

withNetIpv4NeighDefaultGcThresh2

public SysctlConfig withNetIpv4NeighDefaultGcThresh2(Integer netIpv4NeighDefaultGcThresh2)

Set the netIpv4NeighDefaultGcThresh2 property: Sysctl setting net.ipv4.neigh.default.gc_thresh2.

Parameters:

netIpv4NeighDefaultGcThresh2 - the netIpv4NeighDefaultGcThresh2 value to set.

Returns:

the SysctlConfig object itself.

withNetIpv4NeighDefaultGcThresh3

public SysctlConfig withNetIpv4NeighDefaultGcThresh3(Integer netIpv4NeighDefaultGcThresh3)

Set the netIpv4NeighDefaultGcThresh3 property: Sysctl setting net.ipv4.neigh.default.gc_thresh3.

Parameters:

netIpv4NeighDefaultGcThresh3 - the netIpv4NeighDefaultGcThresh3 value to set.

Returns:

the SysctlConfig object itself.

withNetIpv4TcpFinTimeout

public SysctlConfig withNetIpv4TcpFinTimeout(Integer netIpv4TcpFinTimeout)

Set the netIpv4TcpFinTimeout property: Sysctl setting net.ipv4.tcp_fin_timeout.

Parameters:

netIpv4TcpFinTimeout - the netIpv4TcpFinTimeout value to set.

Returns:

the SysctlConfig object itself.

withNetIpv4TcpKeepaliveProbes

public SysctlConfig withNetIpv4TcpKeepaliveProbes(Integer netIpv4TcpKeepaliveProbes)

Set the netIpv4TcpKeepaliveProbes property: Sysctl setting net.ipv4.tcp_keepalive_probes.

Parameters:

netIpv4TcpKeepaliveProbes - the netIpv4TcpKeepaliveProbes value to set.

Returns:

the SysctlConfig object itself.

withNetIpv4TcpKeepaliveTime

public SysctlConfig withNetIpv4TcpKeepaliveTime(Integer netIpv4TcpKeepaliveTime)

Set the netIpv4TcpKeepaliveTime property: Sysctl setting net.ipv4.tcp_keepalive_time.

Parameters:

netIpv4TcpKeepaliveTime - the netIpv4TcpKeepaliveTime value to set.

Returns:

the SysctlConfig object itself.

withNetIpv4TcpMaxSynBacklog

public SysctlConfig withNetIpv4TcpMaxSynBacklog(Integer netIpv4TcpMaxSynBacklog)

Set the netIpv4TcpMaxSynBacklog property: Sysctl setting net.ipv4.tcp_max_syn_backlog.

Parameters:

netIpv4TcpMaxSynBacklog - the netIpv4TcpMaxSynBacklog value to set.

Returns:

the SysctlConfig object itself.

withNetIpv4TcpMaxTwBuckets

public SysctlConfig withNetIpv4TcpMaxTwBuckets(Integer netIpv4TcpMaxTwBuckets)

Set the netIpv4TcpMaxTwBuckets property: Sysctl setting net.ipv4.tcp_max_tw_buckets.

Parameters:

netIpv4TcpMaxTwBuckets - the netIpv4TcpMaxTwBuckets value to set.

Returns:

the SysctlConfig object itself.

withNetIpv4TcpTwReuse

public SysctlConfig withNetIpv4TcpTwReuse(Boolean netIpv4TcpTwReuse)

Set the netIpv4TcpTwReuse property: Sysctl setting net.ipv4.tcp_tw_reuse.

Parameters:

netIpv4TcpTwReuse - the netIpv4TcpTwReuse value to set.

Returns:

the SysctlConfig object itself.

withNetIpv4TcpkeepaliveIntvl

public SysctlConfig withNetIpv4TcpkeepaliveIntvl(Integer netIpv4TcpkeepaliveIntvl)

Set the netIpv4TcpkeepaliveIntvl property: Sysctl setting net.ipv4.tcp_keepalive_intvl.

Parameters:

netIpv4TcpkeepaliveIntvl - the netIpv4TcpkeepaliveIntvl value to set.

Returns:

the SysctlConfig object itself.

withNetNetfilterNfConntrackBuckets

public SysctlConfig withNetNetfilterNfConntrackBuckets(Integer netNetfilterNfConntrackBuckets)

Set the netNetfilterNfConntrackBuckets property: Sysctl setting net.netfilter.nf_conntrack_buckets.

Parameters:

netNetfilterNfConntrackBuckets - the netNetfilterNfConntrackBuckets value to set.

Returns:

the SysctlConfig object itself.

withNetNetfilterNfConntrackMax

public SysctlConfig withNetNetfilterNfConntrackMax(Integer netNetfilterNfConntrackMax)

Set the netNetfilterNfConntrackMax property: Sysctl setting net.netfilter.nf_conntrack_max.

Parameters:

netNetfilterNfConntrackMax - the netNetfilterNfConntrackMax value to set.

Returns:

the SysctlConfig object itself.

withVmMaxMapCount

public SysctlConfig withVmMaxMapCount(Integer vmMaxMapCount)

Set the vmMaxMapCount property: Sysctl setting vm.max_map_count.

Parameters:

vmMaxMapCount - the vmMaxMapCount value to set.

Returns:

the SysctlConfig object itself.

withVmSwappiness

public SysctlConfig withVmSwappiness(Integer vmSwappiness)

Set the vmSwappiness property: Sysctl setting vm.swappiness.

Parameters:

vmSwappiness - the vmSwappiness value to set.

Returns:

the SysctlConfig object itself.

withVmVfsCachePressure

public SysctlConfig withVmVfsCachePressure(Integer vmVfsCachePressure)

Set the vmVfsCachePressure property: Sysctl setting vm.vfs_cache_pressure.

Parameters:

vmVfsCachePressure - the vmVfsCachePressure value to set.

Returns:

the SysctlConfig object itself.

Applies to