public class QEmuIdAllocator extends Object
| Modifier and Type | Class and Description | 
|---|---|
static interface  | 
QEmuIdAllocator.Consumer  | 
| Constructor and Description | 
|---|
QEmuIdAllocator()  | 
QEmuIdAllocator(QEmuIdAllocator predecessor)  | 
| Modifier and Type | Method and Description | 
|---|---|
int | 
newDriveIndex()  | 
int | 
newNetworkBootIndex()  | 
int | 
newNetworkIndex()  | 
String | 
newPciAddress()
Returns a new PCI address. 
 | 
String | 
newPciAddresses(int count,
               String separator)
Returns a comma-separated list of new PCI addresses. 
 | 
public QEmuIdAllocator()
public QEmuIdAllocator(@Nonnull QEmuIdAllocator predecessor)
@Nonnegative public int newDriveIndex()
@Nonnegative public int newNetworkIndex()
@Nonnegative public int newNetworkBootIndex()
@Nonnull public String newPciAddresses(@Nonnegative int count, @Nonnull String separator)
count - How many addresses to return.separator - The separator to use between addresses.@Nonnull public String newPciAddress()