|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use VirtException | |
|---|---|
| org.glassfish.virtualization.spi | |
| Uses of VirtException in org.glassfish.virtualization.spi |
|---|
| Methods in org.glassfish.virtualization.spi that throw VirtException | |
|---|---|
StoragePool |
Machine.addStoragePool(String name,
long capacity)
|
PhasedFuture<AllocationPhase,VirtualMachine> |
ServerPoolAllocationStrategy.allocate(AllocationConstraints constraints,
EventSource<AllocationPhase> source)
Allocates a virtual machine using the passed allocation characteristics |
PhasedFuture<AllocationPhase,VirtualMachine> |
IAAS.allocate(AllocationConstraints order,
List<Listener<AllocationPhase>> listeners)
Allocate a virtual machine based on the provided template. |
PhasedFuture<AllocationPhase,VirtualMachine> |
IAAS.allocate(AllocationStrategy strategy,
AllocationConstraints constraints,
List<Listener<AllocationPhase>> listeners)
Allocate a virtual machine based on the provided template. |
PhasedFuture<AllocationPhase,VirtualMachine> |
AllocationStrategy.allocate(Collection<ServerPool> serverPools,
AllocationConstraints constraints,
List<Listener<AllocationPhase>> listeners)
allocate a virtual machine within the provided server pools, notifying of progress all listeners |
StorageVol |
StoragePool.allocate(String name,
long capacity)
Allocates a new storage volume using the provided name and the capacity |
PhasedFuture<AllocationPhase,VirtualMachine> |
ServerPool.allocate(TemplateInstance template,
VirtualCluster cluster,
EventSource<AllocationPhase> source)
Allocates number of virtual machines on any machine belonging to this server pool, each virtual machine should be based on the provided template. |
StorageVol |
StoragePool.byName(String name)
Returns a storage volume given its name |
VirtualMachine |
Machine.byName(String name)
|
long |
VirtualMachineInfo.cpuTime()
Returns the CPU used by this virtual machine |
PhasedFuture<AllocationPhase,VirtualMachine> |
Machine.create(TemplateInstance template,
VirtualCluster cluster,
EventSource<AllocationPhase> source)
Allocate a new Virtual Machine on this machine. |
void |
TemplateCustomizer.customize(VirtualCluster cluster,
VirtualMachine virtualMachine)
Customize the template instance running within the passed VirtualMachine instance for a particular use (like a
GlassFish instance, or a database). |
void |
VirtualMachine.delete()
Deletes the virtual machine and all associated storage |
void |
StorageVol.delete()
Deletes the volume definition and the underlying disk image from the virtualization infrastructure. |
void |
StoragePool.delete()
Deletes the storage pool |
String |
StorageVol.getName()
Returns the name of the volume |
Machine.State |
VirtualMachineInfo.getState()
Returns the machine's state |
Map<String,? extends StoragePool> |
Machine.getStoragePools()
|
Collection<VirtualMachine> |
ServerPool.getVMs()
Returns all allocated virtual machine in this server pool |
Collection<? extends VirtualMachine> |
Machine.getVMs()
|
long |
VirtualMachineInfo.maxMemory()
Returns the maximum memory allocated to this virtual machine. |
long |
VirtualMachineInfo.memory()
Returns the current memory used by this virtual machine |
long |
StaticVirtualMachineInfo.memory()
returns the currently used memory |
int |
StaticVirtualMachineInfo.nbVirtCpu()
return the number of virtual CPUs allocated to the virtual machine |
void |
VirtualMachine.resume()
Resumes the virtual machine. |
void |
VirtualMachine.start()
Starts the virtual machine |
void |
VirtualMachine.stop()
Stops a virtual machine. |
void |
VirtualMachine.suspend()
Suspend the virtual machine |
VirtualMachine |
ServerPool.vmByName(String name)
Returns an allocated virtual machine in this server pool using its name. |
Iterable<? extends StorageVol> |
StoragePool.volumes()
Returns the currently configured volumes for this pool. |
| Constructors in org.glassfish.virtualization.spi that throw VirtException | |
|---|---|
VirtualCluster(IAAS iaas,
Cluster config)
|
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||