Documentation ¶
Index ¶
- Constants
- Variables
- func IPv6Enabled(iPv6CheckPath string) bool
- 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) )
View Source
const DefaultIPv6CheckPath = "/sys/module/ipv6/parameters/disable"
Variables ¶
View Source
var TmpTrustStore = filepath.Join(os.TempDir(), "truststore")
Functions ¶
func IPv6Enabled ¶ added in v1.44.2
func ResolveBoolWithDefault ¶ added in v1.32.0
ResolveBoolWithDefault TODO - replace calling this with libpak's sherpa.ResolveBoolWithDefault once it is implemented
Types ¶
type ActiveProcessorCount ¶
type JVMHeapDump ¶ added in v1.29.0
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 ¶ added in v1.36.2
func (m MemoryCalculator) CountAgentClasses(opts string) (int, error)
type OpenSSLCertificateLoader ¶
type OpenSSLCertificateLoader struct { CertificateLoader libjvm.CertificateLoader Logger bard.Logger }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.