HWDiskStore

interface HWDiskStore

HWDiskStore represents information about a disk or storage device in the system. It provides details about the disk's model, serial number, size, read/write statistics, partitions, and other attributes.

Author

N7ghtm4r3

Inheritors

HWDiskStoreImpl

Properties

Link copied to clipboard
abstract val currentQueueLength: Long

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

Link copied to clipboard
abstract val model: String

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

Link copied to clipboard
abstract val name: String

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

Link copied to clipboard
abstract val partitions: List<HWPartition>

partitions A list of partitions on the disk.

Link copied to clipboard
abstract val readBytes: Long

readBytes The number of bytes read from the disk.

Link copied to clipboard
abstract val reads: Long

reads The number of read operations performed on the disk.

Link copied to clipboard
abstract val serial: String

serial The serial number of the disk.

Link copied to clipboard
abstract val size: Long

size The total size of the disk (in bytes).

Link copied to clipboard
abstract val timestamp: Long

timestamp The timestamp when the disk information was last updated.

Link copied to clipboard
abstract val transferTime: Long

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

Link copied to clipboard

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

Link copied to clipboard
abstract val writes: Long

writes The number of write operations performed on the disk.

Link copied to clipboard
abstract val writesBytes: Long

writesBytes The number of bytes written to the disk.