Java API
record

DiskInfo

me.tamkungz.hostlens.DiskInfo

Version
1.0.1
Java
21
Source file
me/tamkungz/hostlens/DiskInfo.java
Repository
View source ↗
public record DiskInfo( String name, String mount, String fileSystem, String type, long totalBytes, long usableBytes, long unallocatedBytes, boolean readOnly, long usedBytes, double usedPercent, String device, String volumeName, String driveType, String mediaType, boolean rootMount, boolean systemMount, boolean removable, boolean network, boolean virtual, boolean ssd, String source )

Components 21

name

String name

mount

String mount

fileSystem

String fileSystem

type

String type

totalBytes

long totalBytes

usableBytes

long usableBytes

unallocatedBytes

long unallocatedBytes

readOnly

boolean readOnly

usedBytes

long usedBytes

usedPercent

double usedPercent

device

String device

volumeName

String volumeName

driveType

String driveType

mediaType

String mediaType

rootMount

boolean rootMount

systemMount

boolean systemMount

removable

boolean removable

network

boolean network

virtual

boolean virtual

ssd

boolean ssd

source

String source

Constructors 1

DiskInfo

public DiskInfo( String name, String mount, String fileSystem, String type, long totalBytes, long usableBytes, long unallocatedBytes, boolean readOnly )