Documentation ¶
Index ¶
- Constants
- func ResolveBoolWithDefault(name string, defaultVal bool) bool
- type ActiveProcessorCount
- type Debug8
- type Debug9
- type JFR
- type JMX
- type JVMHeapDump
- type JavaOpts
- type LinkLocalDNS
- type MemoryCalculator
- type NMT
- type OpenSSLCertificateLoader
- type SecurityProvidersClasspath8
- type SecurityProvidersClasspath9
- type SecurityProvidersConfigurer
Constants ¶
View Source
const ( ClassLoadFactor = 0.35 DefaultHeadroom = 0 DefaultMemoryLimitPathV1 = "/sys/fs/cgroup/memory/memory.limit_in_bytes" DefaultMemoryLimitPathV2 = "/sys/fs/cgroup/memory.max" DefaultMemoryInfoPath = "/proc/meminfo" DefaultThreadCount = 250 MaxJVMSize = 64 * calc.Tebi UnsetTotalMemory = int64(9_223_372_036_854_771_712) )
Variables ¶
This section is empty.
Functions ¶
func ResolveBoolWithDefault ¶
ResolveBoolWithDefault TODO - replace calling this with libpak's sherpa.ResolveBoolWithDefault once it is implemented
Types ¶
type ActiveProcessorCount ¶
type JVMHeapDump ¶
type LinkLocalDNS ¶
type LinkLocalDNS struct { Config *dns.ClientConfig Logger bard.Logger }
type MemoryCalculator ¶
type MemoryCalculator struct { Logger bard.Logger MemoryLimitPathV1 string MemoryLimitPathV2 string MemoryInfoPath string }
func (MemoryCalculator) CountAgentClasses ¶
func (m MemoryCalculator) CountAgentClasses(opts string) (int, error)
type OpenSSLCertificateLoader ¶
type OpenSSLCertificateLoader struct { CertificateLoader provider.CertificateLoader Logger bard.Logger }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.