Uses of Record Class
cloud.opencode.base.core.system.MemoryInfo
Packages that use MemoryInfo
-
Uses of MemoryInfo in cloud.opencode.base.core.system
Methods in cloud.opencode.base.core.system that return MemoryInfoModifier and TypeMethodDescriptionstatic MemoryInfoSystemInfo.heapMemory()Returns a snapshot of JVM heap memory information.static MemoryInfoSystemInfo.memory()Returns a snapshot of physical memory information.static MemoryInfoSystemInfo.nonHeapMemory()Returns a snapshot of JVM non-heap memory information.static MemoryInfoMemoryInfo.of(long total, long used, long free, long max) Creates a MemoryInfo with the given values.static MemoryInfoMemoryInfo.ofPhysical(long total, long free) Creates a MemoryInfo for physical memory where max equals total.