org.jclouds.compute.domain
Interface Volume

All Known Implementing Classes:
VolumeImpl

public interface Volume

Describes what appears as a disk to an OperatingSystem

Author:
Adrian Cole

Nested Class Summary
static class Volume.Type
          Describes the cardinal type of a volume; used to determine scope and exclusivity.
 
Method Summary
 String getDevice()
           
 String getId()
          Unique identifier.
 Float getSize()
           
 Volume.Type getType()
          Describes the cardinal type of a volume; used to determine scope and exclusivity.
 boolean isBootDevice()
           
 boolean isDurable()
           
 

Method Detail

getId

@Nullable
String getId()
Unique identifier. If set, can be used to reference the volume for reorganizing within Hardware or external commands such as backups.


getType

Volume.Type getType()
Describes the cardinal type of a volume; used to determine scope and exclusivity.


getSize

@Nullable
Float getSize()
Returns:
capacity in gigabytes, if available

getDevice

@Nullable
String getDevice()
Returns:
device this volume relates to on an operating system, if available

isDurable

boolean isDurable()
Returns:
true if this survives restarts

isBootDevice

boolean isBootDevice()
Returns:
true if this is the boot device


Copyright © 2009-2011 jclouds. All Rights Reserved.