HWDiskStoreImpl

constructor(    name: String,     model: String,     serial: String,     size: Long,     reads: Long,     readBytes: Long,     writes: Long,     writesBytes: Long,     currentQueueLength: Long,     transferTime: Long,     partitions: List<HWPartition>,     timestamp: Long,     updateAttributes: Boolean)

Parameters

name

The name or identifier of the disk (e.g., "sda", "disk0")

model

The model name of the disk (e.g., "Samsung SSD 860")

serial

The serial number of the disk

size

The total size of the disk (in bytes)

reads

The number of read operations performed on the disk

readBytes

The number of bytes read from the disk

writes

The number of write operations performed on the disk

writesBytes

The number of bytes written to the disk

currentQueueLength

The current length of the disk's I/O request queue

transferTime

The time (in milliseconds) spent transferring data for I/O operations

partitions

A list of partitions on the disk

timestamp

The timestamp when the disk information was last updated

updateAttributes

A flag indicating whether the disk's attributes should be updated