SysctlConfig Class
- java.
lang. Object - com.
azure. resourcemanager. containerservice. models. SysctlConfig
- com.
public final class SysctlConfig
Sysctl settings for Linux agent nodes.
Constructor Summary
Constructor | Description |
---|---|
SysctlConfig() |
Creates an instance of Sysctl |
Method Summary
Modifier and Type | Method and Description |
---|---|
Integer |
fsAioMaxNr()
Get the fs |
Integer |
fsFileMax()
Get the fs |
Integer |
fsInotifyMaxUserWatches()
Get the fs |
Integer |
fsNrOpen()
Get the fs |
Integer |
kernelThreadsMax()
Get the kernel |
Integer |
netCoreNetdevMaxBacklog()
Get the net |
Integer |
netCoreOptmemMax()
Get the net |
Integer |
netCoreRmemDefault()
Get the net |
Integer |
netCoreRmemMax()
Get the net |
Integer |
netCoreSomaxconn()
Get the net |
Integer |
netCoreWmemDefault()
Get the net |
Integer |
netCoreWmemMax()
Get the net |
String |
netIpv4IpLocalPortRange()
Get the net |
Integer |
netIpv4NeighDefaultGcThresh1()
Get the net |
Integer |
netIpv4NeighDefaultGcThresh2()
Get the net |
Integer |
netIpv4NeighDefaultGcThresh3()
Get the net |
Integer |
netIpv4TcpFinTimeout()
Get the net |
Integer |
netIpv4TcpKeepaliveProbes()
Get the net |
Integer |
netIpv4TcpKeepaliveTime()
Get the net |
Integer |
netIpv4TcpMaxSynBacklog()
Get the net |
Integer |
netIpv4TcpMaxTwBuckets()
Get the net |
Boolean |
netIpv4TcpTwReuse()
Get the net |
Integer |
netIpv4TcpkeepaliveIntvl()
Get the net |
Integer |
netNetfilterNfConntrackBuckets()
Get the net |
Integer |
netNetfilterNfConntrackMax()
Get the net |
void |
validate()
Validates the instance. |
Integer |
vmMaxMapCount()
Get the vm |
Integer |
vmSwappiness()
Get the vm |
Integer |
vmVfsCachePressure()
Get the vm |
Sysctl |
withFsAioMaxNr(Integer fsAioMaxNr)
Set the fs |
Sysctl |
withFsFileMax(Integer fsFileMax)
Set the fs |
Sysctl |
withFsInotifyMaxUserWatches(Integer fsInotifyMaxUserWatches)
Set the fs |
Sysctl |
withFsNrOpen(Integer fsNrOpen)
Set the fs |
Sysctl |
withKernelThreadsMax(Integer kernelThreadsMax)
Set the kernel |
Sysctl |
withNetCoreNetdevMaxBacklog(Integer netCoreNetdevMaxBacklog)
Set the net |
Sysctl |
withNetCoreOptmemMax(Integer netCoreOptmemMax)
Set the net |
Sysctl |
withNetCoreRmemDefault(Integer netCoreRmemDefault)
Set the net |
Sysctl |
withNetCoreRmemMax(Integer netCoreRmemMax)
Set the net |
Sysctl |
withNetCoreSomaxconn(Integer netCoreSomaxconn)
Set the net |
Sysctl |
withNetCoreWmemDefault(Integer netCoreWmemDefault)
Set the net |
Sysctl |
withNetCoreWmemMax(Integer netCoreWmemMax)
Set the net |
Sysctl |
withNetIpv4IpLocalPortRange(String netIpv4IpLocalPortRange)
Set the net |
Sysctl |
withNetIpv4NeighDefaultGcThresh1(Integer netIpv4NeighDefaultGcThresh1)
Set the net |
Sysctl |
withNetIpv4NeighDefaultGcThresh2(Integer netIpv4NeighDefaultGcThresh2)
Set the net |
Sysctl |
withNetIpv4NeighDefaultGcThresh3(Integer netIpv4NeighDefaultGcThresh3)
Set the net |
Sysctl |
withNetIpv4TcpFinTimeout(Integer netIpv4TcpFinTimeout)
Set the net |
Sysctl |
withNetIpv4TcpKeepaliveProbes(Integer netIpv4TcpKeepaliveProbes)
Set the net |
Sysctl |
withNetIpv4TcpKeepaliveTime(Integer netIpv4TcpKeepaliveTime)
Set the net |
Sysctl |
withNetIpv4TcpMaxSynBacklog(Integer netIpv4TcpMaxSynBacklog)
Set the net |
Sysctl |
withNetIpv4TcpMaxTwBuckets(Integer netIpv4TcpMaxTwBuckets)
Set the net |
Sysctl |
withNetIpv4TcpTwReuse(Boolean netIpv4TcpTwReuse)
Set the net |
Sysctl |
withNetIpv4TcpkeepaliveIntvl(Integer netIpv4TcpkeepaliveIntvl)
Set the net |
Sysctl |
withNetNetfilterNfConntrackBuckets(Integer netNetfilterNfConntrackBuckets)
Set the net |
Sysctl |
withNetNetfilterNfConntrackMax(Integer netNetfilterNfConntrackMax)
Set the net |
Sysctl |
withVmMaxMapCount(Integer vmMaxMapCount)
Set the vm |
Sysctl |
withVmSwappiness(Integer vmSwappiness)
Set the vm |
Sysctl |
withVmVfsCachePressure(Integer vmVfsCachePressure)
Set the vm |
Methods inherited from java.lang.Object
Constructor Details
SysctlConfig
public SysctlConfig()
Creates an instance of SysctlConfig class.
Method Details
fsAioMaxNr
public Integer fsAioMaxNr()
Get the fsAioMaxNr property: Sysctl setting fs.aio-max-nr.
Returns:
fsFileMax
public Integer fsFileMax()
Get the fsFileMax property: Sysctl setting fs.file-max.
Returns:
fsInotifyMaxUserWatches
public Integer fsInotifyMaxUserWatches()
Get the fsInotifyMaxUserWatches property: Sysctl setting fs.inotify.max_user_watches.
Returns:
fsNrOpen
public Integer fsNrOpen()
Get the fsNrOpen property: Sysctl setting fs.nr_open.
Returns:
kernelThreadsMax
public Integer kernelThreadsMax()
Get the kernelThreadsMax property: Sysctl setting kernel.threads-max.
Returns:
netCoreNetdevMaxBacklog
public Integer netCoreNetdevMaxBacklog()
Get the netCoreNetdevMaxBacklog property: Sysctl setting net.core.netdev_max_backlog.
Returns:
netCoreOptmemMax
public Integer netCoreOptmemMax()
Get the netCoreOptmemMax property: Sysctl setting net.core.optmem_max.
Returns:
netCoreRmemDefault
public Integer netCoreRmemDefault()
Get the netCoreRmemDefault property: Sysctl setting net.core.rmem_default.
Returns:
netCoreRmemMax
public Integer netCoreRmemMax()
Get the netCoreRmemMax property: Sysctl setting net.core.rmem_max.
Returns:
netCoreSomaxconn
public Integer netCoreSomaxconn()
Get the netCoreSomaxconn property: Sysctl setting net.core.somaxconn.
Returns:
netCoreWmemDefault
public Integer netCoreWmemDefault()
Get the netCoreWmemDefault property: Sysctl setting net.core.wmem_default.
Returns:
netCoreWmemMax
public Integer netCoreWmemMax()
Get the netCoreWmemMax property: Sysctl setting net.core.wmem_max.
Returns:
netIpv4IpLocalPortRange
public String netIpv4IpLocalPortRange()
Get the netIpv4IpLocalPortRange property: Sysctl setting net.ipv4.ip_local_port_range.
Returns:
netIpv4NeighDefaultGcThresh1
public Integer netIpv4NeighDefaultGcThresh1()
Get the netIpv4NeighDefaultGcThresh1 property: Sysctl setting net.ipv4.neigh.default.gc_thresh1.
Returns:
netIpv4NeighDefaultGcThresh2
public Integer netIpv4NeighDefaultGcThresh2()
Get the netIpv4NeighDefaultGcThresh2 property: Sysctl setting net.ipv4.neigh.default.gc_thresh2.
Returns:
netIpv4NeighDefaultGcThresh3
public Integer netIpv4NeighDefaultGcThresh3()
Get the netIpv4NeighDefaultGcThresh3 property: Sysctl setting net.ipv4.neigh.default.gc_thresh3.
Returns:
netIpv4TcpFinTimeout
public Integer netIpv4TcpFinTimeout()
Get the netIpv4TcpFinTimeout property: Sysctl setting net.ipv4.tcp_fin_timeout.
Returns:
netIpv4TcpKeepaliveProbes
public Integer netIpv4TcpKeepaliveProbes()
Get the netIpv4TcpKeepaliveProbes property: Sysctl setting net.ipv4.tcp_keepalive_probes.
Returns:
netIpv4TcpKeepaliveTime
public Integer netIpv4TcpKeepaliveTime()
Get the netIpv4TcpKeepaliveTime property: Sysctl setting net.ipv4.tcp_keepalive_time.
Returns:
netIpv4TcpMaxSynBacklog
public Integer netIpv4TcpMaxSynBacklog()
Get the netIpv4TcpMaxSynBacklog property: Sysctl setting net.ipv4.tcp_max_syn_backlog.
Returns:
netIpv4TcpMaxTwBuckets
public Integer netIpv4TcpMaxTwBuckets()
Get the netIpv4TcpMaxTwBuckets property: Sysctl setting net.ipv4.tcp_max_tw_buckets.
Returns:
netIpv4TcpTwReuse
public Boolean netIpv4TcpTwReuse()
Get the netIpv4TcpTwReuse property: Sysctl setting net.ipv4.tcp_tw_reuse.
Returns:
netIpv4TcpkeepaliveIntvl
public Integer netIpv4TcpkeepaliveIntvl()
Get the netIpv4TcpkeepaliveIntvl property: Sysctl setting net.ipv4.tcp_keepalive_intvl.
Returns:
netNetfilterNfConntrackBuckets
public Integer netNetfilterNfConntrackBuckets()
Get the netNetfilterNfConntrackBuckets property: Sysctl setting net.netfilter.nf_conntrack_buckets.
Returns:
netNetfilterNfConntrackMax
public Integer netNetfilterNfConntrackMax()
Get the netNetfilterNfConntrackMax property: Sysctl setting net.netfilter.nf_conntrack_max.
Returns:
validate
public void validate()
Validates the instance.
vmMaxMapCount
public Integer vmMaxMapCount()
Get the vmMaxMapCount property: Sysctl setting vm.max_map_count.
Returns:
vmSwappiness
public Integer vmSwappiness()
Get the vmSwappiness property: Sysctl setting vm.swappiness.
Returns:
vmVfsCachePressure
public Integer vmVfsCachePressure()
Get the vmVfsCachePressure property: Sysctl setting vm.vfs_cache_pressure.
Returns:
withFsAioMaxNr
public SysctlConfig withFsAioMaxNr(Integer fsAioMaxNr)
Set the fsAioMaxNr property: Sysctl setting fs.aio-max-nr.
Parameters:
Returns:
withFsFileMax
public SysctlConfig withFsFileMax(Integer fsFileMax)
Set the fsFileMax property: Sysctl setting fs.file-max.
Parameters:
Returns:
withFsInotifyMaxUserWatches
public SysctlConfig withFsInotifyMaxUserWatches(Integer fsInotifyMaxUserWatches)
Set the fsInotifyMaxUserWatches property: Sysctl setting fs.inotify.max_user_watches.
Parameters:
Returns:
withFsNrOpen
public SysctlConfig withFsNrOpen(Integer fsNrOpen)
Set the fsNrOpen property: Sysctl setting fs.nr_open.
Parameters:
Returns:
withKernelThreadsMax
public SysctlConfig withKernelThreadsMax(Integer kernelThreadsMax)
Set the kernelThreadsMax property: Sysctl setting kernel.threads-max.
Parameters:
Returns:
withNetCoreNetdevMaxBacklog
public SysctlConfig withNetCoreNetdevMaxBacklog(Integer netCoreNetdevMaxBacklog)
Set the netCoreNetdevMaxBacklog property: Sysctl setting net.core.netdev_max_backlog.
Parameters:
Returns:
withNetCoreOptmemMax
public SysctlConfig withNetCoreOptmemMax(Integer netCoreOptmemMax)
Set the netCoreOptmemMax property: Sysctl setting net.core.optmem_max.
Parameters:
Returns:
withNetCoreRmemDefault
public SysctlConfig withNetCoreRmemDefault(Integer netCoreRmemDefault)
Set the netCoreRmemDefault property: Sysctl setting net.core.rmem_default.
Parameters:
Returns:
withNetCoreRmemMax
public SysctlConfig withNetCoreRmemMax(Integer netCoreRmemMax)
Set the netCoreRmemMax property: Sysctl setting net.core.rmem_max.
Parameters:
Returns:
withNetCoreSomaxconn
public SysctlConfig withNetCoreSomaxconn(Integer netCoreSomaxconn)
Set the netCoreSomaxconn property: Sysctl setting net.core.somaxconn.
Parameters:
Returns:
withNetCoreWmemDefault
public SysctlConfig withNetCoreWmemDefault(Integer netCoreWmemDefault)
Set the netCoreWmemDefault property: Sysctl setting net.core.wmem_default.
Parameters:
Returns:
withNetCoreWmemMax
public SysctlConfig withNetCoreWmemMax(Integer netCoreWmemMax)
Set the netCoreWmemMax property: Sysctl setting net.core.wmem_max.
Parameters:
Returns:
withNetIpv4IpLocalPortRange
public SysctlConfig withNetIpv4IpLocalPortRange(String netIpv4IpLocalPortRange)
Set the netIpv4IpLocalPortRange property: Sysctl setting net.ipv4.ip_local_port_range.
Parameters:
Returns:
withNetIpv4NeighDefaultGcThresh1
public SysctlConfig withNetIpv4NeighDefaultGcThresh1(Integer netIpv4NeighDefaultGcThresh1)
Set the netIpv4NeighDefaultGcThresh1 property: Sysctl setting net.ipv4.neigh.default.gc_thresh1.
Parameters:
Returns:
withNetIpv4NeighDefaultGcThresh2
public SysctlConfig withNetIpv4NeighDefaultGcThresh2(Integer netIpv4NeighDefaultGcThresh2)
Set the netIpv4NeighDefaultGcThresh2 property: Sysctl setting net.ipv4.neigh.default.gc_thresh2.
Parameters:
Returns:
withNetIpv4NeighDefaultGcThresh3
public SysctlConfig withNetIpv4NeighDefaultGcThresh3(Integer netIpv4NeighDefaultGcThresh3)
Set the netIpv4NeighDefaultGcThresh3 property: Sysctl setting net.ipv4.neigh.default.gc_thresh3.
Parameters:
Returns:
withNetIpv4TcpFinTimeout
public SysctlConfig withNetIpv4TcpFinTimeout(Integer netIpv4TcpFinTimeout)
Set the netIpv4TcpFinTimeout property: Sysctl setting net.ipv4.tcp_fin_timeout.
Parameters:
Returns:
withNetIpv4TcpKeepaliveProbes
public SysctlConfig withNetIpv4TcpKeepaliveProbes(Integer netIpv4TcpKeepaliveProbes)
Set the netIpv4TcpKeepaliveProbes property: Sysctl setting net.ipv4.tcp_keepalive_probes.
Parameters:
Returns:
withNetIpv4TcpKeepaliveTime
public SysctlConfig withNetIpv4TcpKeepaliveTime(Integer netIpv4TcpKeepaliveTime)
Set the netIpv4TcpKeepaliveTime property: Sysctl setting net.ipv4.tcp_keepalive_time.
Parameters:
Returns:
withNetIpv4TcpMaxSynBacklog
public SysctlConfig withNetIpv4TcpMaxSynBacklog(Integer netIpv4TcpMaxSynBacklog)
Set the netIpv4TcpMaxSynBacklog property: Sysctl setting net.ipv4.tcp_max_syn_backlog.
Parameters:
Returns:
withNetIpv4TcpMaxTwBuckets
public SysctlConfig withNetIpv4TcpMaxTwBuckets(Integer netIpv4TcpMaxTwBuckets)
Set the netIpv4TcpMaxTwBuckets property: Sysctl setting net.ipv4.tcp_max_tw_buckets.
Parameters:
Returns:
withNetIpv4TcpTwReuse
public SysctlConfig withNetIpv4TcpTwReuse(Boolean netIpv4TcpTwReuse)
Set the netIpv4TcpTwReuse property: Sysctl setting net.ipv4.tcp_tw_reuse.
Parameters:
Returns:
withNetIpv4TcpkeepaliveIntvl
public SysctlConfig withNetIpv4TcpkeepaliveIntvl(Integer netIpv4TcpkeepaliveIntvl)
Set the netIpv4TcpkeepaliveIntvl property: Sysctl setting net.ipv4.tcp_keepalive_intvl.
Parameters:
Returns:
withNetNetfilterNfConntrackBuckets
public SysctlConfig withNetNetfilterNfConntrackBuckets(Integer netNetfilterNfConntrackBuckets)
Set the netNetfilterNfConntrackBuckets property: Sysctl setting net.netfilter.nf_conntrack_buckets.
Parameters:
Returns:
withNetNetfilterNfConntrackMax
public SysctlConfig withNetNetfilterNfConntrackMax(Integer netNetfilterNfConntrackMax)
Set the netNetfilterNfConntrackMax property: Sysctl setting net.netfilter.nf_conntrack_max.
Parameters:
Returns:
withVmMaxMapCount
public SysctlConfig withVmMaxMapCount(Integer vmMaxMapCount)
Set the vmMaxMapCount property: Sysctl setting vm.max_map_count.
Parameters:
Returns:
withVmSwappiness
public SysctlConfig withVmSwappiness(Integer vmSwappiness)
Set the vmSwappiness property: Sysctl setting vm.swappiness.
Parameters:
Returns:
withVmVfsCachePressure
public SysctlConfig withVmVfsCachePressure(Integer vmVfsCachePressure)
Set the vmVfsCachePressure property: Sysctl setting vm.vfs_cache_pressure.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for