|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jvnet.hudson.ec2.launcher.Storage
public class Storage
| Field Summary | |
|---|---|
java.lang.String |
name
Name of this storage. |
java.util.List<java.lang.String> |
volumes
EBS volumes IDs that are used as a single ZFS pool. |
| Constructor Summary | |
|---|---|
Storage(java.lang.String name,
java.lang.String... volumes)
|
|
| Method Summary | |
|---|---|
java.util.List<java.lang.String> |
attach(com.xerox.amazonws.ec2.ReservationDescription.Instance inst,
com.xerox.amazonws.ec2.Jec2 ec2)
Attaches all the volumes, and returns the device names. |
java.lang.String |
getAvailabilityZone(com.xerox.amazonws.ec2.Jec2 ec2)
Determines the availability zone that this storage set lives on. |
boolean |
isAllVolumesPresent(java.util.List<com.xerox.amazonws.ec2.VolumeInfo> infos)
Does the specified list contain all the volumes needed by this Storage? |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public final java.lang.String name
public final java.util.List<java.lang.String> volumes
| Constructor Detail |
|---|
public Storage(java.lang.String name,
java.lang.String... volumes)
| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Object
public java.lang.String getAvailabilityZone(com.xerox.amazonws.ec2.Jec2 ec2)
throws com.xerox.amazonws.ec2.EC2Exception,
OperatorErrorException
com.xerox.amazonws.ec2.EC2Exception
OperatorErrorException
public java.util.List<java.lang.String> attach(com.xerox.amazonws.ec2.ReservationDescription.Instance inst,
com.xerox.amazonws.ec2.Jec2 ec2)
throws com.xerox.amazonws.ec2.EC2Exception,
OperatorErrorException,
java.lang.InterruptedException
com.xerox.amazonws.ec2.EC2Exception
OperatorErrorException
java.lang.InterruptedExceptionpublic boolean isAllVolumesPresent(java.util.List<com.xerox.amazonws.ec2.VolumeInfo> infos)
Storage?
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||