|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.virtualbox_6_1.IUnknown
org.virtualbox_6_1.IStorageController
public class IStorageController
Represents a storage controller that is attached to a virtual machine
(IMachine
). Just as drives (hard disks, DVDs, FDs) are
attached to storage controllers in a real computer, virtual drives
(represented byIMediumAttachment
) are attached to virtual
storage controllers, represented by this interface.
As opposed to physical hardware, VirtualBox has a very generic concept
of a storage controller, and for purposes of the Main API, all virtual
storage is attached to virtual machines via instances of this interface.
There are five types of such virtual storage controllers: IDE, SCSI, SATA,
SAS and Floppy (seegetBus()
). Depending on which of these four
is used, certain sub-types may be available and can be selected ingetControllerType()
.
Depending on these settings, the guest operating system might see
significantly different virtual hardware.
Interface ID: {DDCA7247-BF98-47FB-AB2F-B5177533F493}
Field Summary |
---|
Fields inherited from class org.virtualbox_6_1.IUnknown |
---|
obj, objMgr, port |
Constructor Summary | |
---|---|
IStorageController(java.lang.String wrapped,
org.virtualbox_6_1.ObjectRefManager objMgr,
org.virtualbox_6_1.jaxws.VboxPortType port)
|
Method Summary | |
---|---|
java.lang.Boolean |
getBootable()
Returns whether it is possible to boot from disks attached to this controller. |
StorageBus |
getBus()
The bus type of the storage controller (IDE, SATA, SCSI, SAS or Floppy). |
StorageControllerType |
getControllerType()
The exact variant of storage controller hardware presented to the guest. |
java.lang.Long |
getInstance()
The instance number of the device in the running VM. |
java.lang.Long |
getMaxDevicesPerPortCount()
Maximum number of devices which can be attached to one port. |
java.lang.Long |
getMaxPortCount()
Maximum number of ports that getPortCount() can be set to. |
java.lang.Long |
getMinPortCount()
Minimum number of ports that getPortCount() can be set to. |
java.lang.String |
getName()
Name of the storage controller, as originally specified with IMachine.addStorageController(String,org.virtualbox_6_1.StorageBus) . |
java.lang.Long |
getPortCount()
The number of currently usable ports on the controller. |
java.lang.Boolean |
getUseHostIOCache()
If true, the storage controller emulation will use a dedicated I/O thread, enable the host I/O caches and use synchronous file APIs on the host. |
static IStorageController |
queryInterface(IUnknown obj)
|
void |
setControllerType(StorageControllerType value)
The exact variant of storage controller hardware presented to the guest. |
void |
setInstance(java.lang.Long value)
The instance number of the device in the running VM. |
void |
setName(java.lang.String value)
Name of the storage controller, as originally specified with IMachine.addStorageController(String,org.virtualbox_6_1.StorageBus) . |
void |
setPortCount(java.lang.Long value)
The number of currently usable ports on the controller. |
void |
setUseHostIOCache(java.lang.Boolean value)
If true, the storage controller emulation will use a dedicated I/O thread, enable the host I/O caches and use synchronous file APIs on the host. |
Methods inherited from class org.virtualbox_6_1.IUnknown |
---|
getObjMgr, getRemoteWSPort, getWrapped, releaseRemote |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IStorageController(java.lang.String wrapped, org.virtualbox_6_1.ObjectRefManager objMgr, org.virtualbox_6_1.jaxws.VboxPortType port)
Method Detail |
---|
public java.lang.String getName()
IMachine.addStorageController(String,org.virtualbox_6_1.StorageBus)
. This then uniquely
identifies this controller with other method calls such asIMachine.attachDevice(String,Integer,Integer,org.virtualbox_6_1.DeviceType,org.virtualbox_6_1.IMedium)
andIMachine.mountMedium(String,Integer,Integer,org.virtualbox_6_1.IMedium,Boolean)
.
public void setName(java.lang.String value)
IMachine.addStorageController(String,org.virtualbox_6_1.StorageBus)
. This then uniquely
identifies this controller with other method calls such asIMachine.attachDevice(String,Integer,Integer,org.virtualbox_6_1.DeviceType,org.virtualbox_6_1.IMedium)
andIMachine.mountMedium(String,Integer,Integer,org.virtualbox_6_1.IMedium,Boolean)
.
value
- Stringpublic java.lang.Long getMaxDevicesPerPortCount()
public java.lang.Long getMinPortCount()
getPortCount()
can be set to.
public java.lang.Long getMaxPortCount()
getPortCount()
can be set to.
public java.lang.Long getInstance()
public void setInstance(java.lang.Long value)
value
- Longpublic java.lang.Long getPortCount()
getMinPortCount()
andgetMaxPortCount()
.
public void setPortCount(java.lang.Long value)
getMinPortCount()
andgetMaxPortCount()
.
value
- Longpublic StorageBus getBus()
public StorageControllerType getControllerType()
public void setControllerType(StorageControllerType value)
value
- org.virtualbox_6_1.StorageControllerTypepublic java.lang.Boolean getUseHostIOCache()
public void setUseHostIOCache(java.lang.Boolean value)
value
- Booleanpublic java.lang.Boolean getBootable()
public static IStorageController queryInterface(IUnknown obj)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |