org.glassfish.virtualization.spi
Interface StorageVol


public interface StorageVol

Represents a defined volume (disk) in the underlying virtualization infrastructure

Author:
Jerome Dochez

Method Summary
 void delete()
          Deletes the volume definition and the underlying disk image from the virtualization infrastructure.
 String getName()
          Returns the name of the volume
 

Method Detail

getName

String getName()
               throws VirtException
Returns the name of the volume

Returns:
volume's name
Throws:
VirtException - if the connection to the virtualization infrastructure failed

delete

void delete()
            throws VirtException
Deletes the volume definition and the underlying disk image from the virtualization infrastructure.

Throws:
VirtException - if the connection to the virtualization infrastructure failed


Copyright © 2012. All Rights Reserved.