All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.ocap.storage.RemovableStorageOption.html Maven / Gradle / Ivy

There is a newer version: 1.3.1
Show newest version






RemovableStorageOption














org.ocap.storage
Interface RemovableStorageOption

All Superinterfaces:
StorageOption

public interface RemovableStorageOption
extends StorageOption

This interface represents a removable storage media bay that supports insertion or removal of storage media while power is applied. Examples of removable storage media would be memory stick, CD, or DVD. When an instance of the appropriate storage media is inserted into or removed from the bay a StorageManagerEvent SHALL be generated with an event type of STORAGE_PROXY_CHANGED.


Method Summary
 void eject()
          Prepares the storage media to be physically ejected from the bay in an implementation specific fashion, if applicable to the hardware.
 boolean isPresent()
          Returns a presence indication for the removable storage.
 

Method Detail

eject

void eject()
Prepares the storage media to be physically ejected from the bay in an implementation specific fashion, if applicable to the hardware. If eject is not applicable to the storage device hardware this method does nothing and returns successfully


isPresent

boolean isPresent()
Returns a presence indication for the removable storage.

Returns:
True if a removable storage media is present in the corresponding bay, otherwise returns false.






© 2015 - 2024 Weber Informatics LLC | Privacy Policy