org.ocap.storage.RemovableStorageOption.html Maven / Gradle / Ivy
RemovableStorageOption
Overview
Package
Class
Tree
Deprecated
Index
Help
PREV CLASS
NEXT CLASS
FRAMES
NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD
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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |