Interface StorageDeviceListener
- All Superinterfaces:
StorageListener
Listener for when a
StorageDevice is added or removed.- Version:
- 2024-05-01
-
Method Summary
Modifier and TypeMethodDescriptionvoidonStorageAdd(StorageService service, StorageDevice device) Called when a storage device is added to the system.voidonStorageRemove(StorageService service, StorageDevice device) Called when a storage device is removed from the system.
-
Method Details
-
onStorageAdd
Called when a storage device is added to the system.- Parameters:
service- the storage servicedevice- the newly added storage device
-
onStorageRemove
Called when a storage device is removed from the system.- Parameters:
service- the storage servicedevice- the device that has been removed
-