| 
 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.virtualbox_7_1.IUnknown
org.virtualbox_7_1.IBandwidthControl
public class IBandwidthControl
Controls the bandwidth groups of one machine used to cap I/O done by a VM.
This includes network and disk I/O.
Interface ID: {48C7F4C0-C9D6-4742-957C-A6FD52E8C4AE}
| Field Summary | 
|---|
| Fields inherited from class org.virtualbox_7_1.IUnknown | 
|---|
| obj, objMgr, port | 
| Constructor Summary | |
|---|---|
| IBandwidthControl(java.lang.String wrapped,
                  org.virtualbox_7_1.ObjectRefManager objMgr,
                  org.virtualbox_7_1.jaxws.VboxPortType port) | |
| Method Summary | |
|---|---|
|  void | createBandwidthGroup(java.lang.String name,
                     BandwidthGroupType type,
                     java.lang.Long maxBytesPerSec)Creates a new bandwidth group. | 
|  void | deleteBandwidthGroup(java.lang.String name)Deletes a new bandwidth group. | 
|  java.util.List<IBandwidthGroup> | getAllBandwidthGroups()Get all managed bandwidth groups. | 
|  IBandwidthGroup | getBandwidthGroup(java.lang.String name)Get a bandwidth group by name. | 
|  java.lang.Long | getNumGroups()The current number of existing bandwidth groups managed. | 
| static IBandwidthControl | queryInterface(IUnknown obj) | 
| Methods inherited from class org.virtualbox_7_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 IBandwidthControl(java.lang.String wrapped,
                         org.virtualbox_7_1.ObjectRefManager objMgr,
                         org.virtualbox_7_1.jaxws.VboxPortType port)
| Method Detail | 
|---|
public java.lang.Long getNumGroups()
public static IBandwidthControl queryInterface(IUnknown obj)
public void createBandwidthGroup(java.lang.String name,
                                 BandwidthGroupType type,
                                 java.lang.Long maxBytesPerSec)
name - Name of the bandwidth group.type - The type of the bandwidth group (network or disk).maxBytesPerSec - The maximum number of bytes which can be transfered by all
entities attached to this group during one second.public void deleteBandwidthGroup(java.lang.String name)
name - Name of the bandwidth group to delete.public IBandwidthGroup getBandwidthGroup(java.lang.String name)
name - Name of the bandwidth group to get.
public java.util.List<IBandwidthGroup> getAllBandwidthGroups()
| 
 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||