JAVA 21 / 17 PUBLIC TYPES
HostLens API 1.0.0
HostLens is a Java library for reading hardware and host information such as CPU, memory, and operating system details.
me.tamkungz.hostlens16
record
CpuInfopublic record CpuInfo( String name, String architecture, int logicalCores, int availableProcessors, double systemLoadAverage, double systemCpuLoad, double processCpuLoad )
record
DiskInfopublic record DiskInfo( String name, String mount, String fileSystem, String type, long totalBytes, long usableBytes, long unallocatedBytes, boolean readOnly )
record
GpuInfopublic record GpuInfo( String name, String vendor, String driverVersion, String deviceId )
record
HostCaptureContextpublic record HostCaptureContext( boolean includeCpu, boolean includeMemory, boolean includeGpu, boolean includeDisk, boolean includeNetwork )
interface
HostInspectorpublic interface HostInspector
class
HostLenspublic final class HostLens
class
Builderpublic static final class Builder
record
HostLensErrorpublic record HostLensError( String source, String type, String message )
class
HostLensExceptionpublic final class HostLensException extends RuntimeException
class
HostLensFormatterpublic final class HostLensFormatter
record
HostSnapshotpublic record HostSnapshot( Instant capturedAt, RuntimeInfo runtime, OperatingSystemInfo operatingSystem, CpuInfo cpu, MemoryInfo memory, List<GpuInfo> gpus, List<DiskInfo> disks, List<NetworkInterfaceInfo> networks, Map<String, String> properties, List<HostLensError> errors )
class
Builderpublic static final class Builder
record
MemoryInfopublic record MemoryInfo( long heapUsedBytes, long heapCommittedBytes, long heapMaxBytes, long nonHeapUsedBytes, long nonHeapCommittedBytes, long physicalTotalBytes, long physicalFreeBytes, long swapTotalBytes, long swapFreeBytes )
record
NetworkInterfaceInfopublic record NetworkInterfaceInfo( String name, String displayName, String macAddress, boolean up, boolean loopback, boolean virtual, int mtu, List<String> addresses )
record
OperatingSystemInfopublic record OperatingSystemInfo( String name, String version, String architecture, String family, boolean windows, boolean linux, boolean mac, String hostName, String userName )
record
RuntimeInfopublic record RuntimeInfo( String javaVersion, String javaVendor, String javaVmName, String javaVmVersion, String javaRuntimeName, String javaHome, String userName, String userHome, String userDir, String fileEncoding, String defaultLocale, String defaultCharset, String timeZone, long uptimeMillis, long processId, int availableProcessors )
me.tamkungz.hostlens.demo1
No matching public types.