org.jclouds.trmk.vcloud_0_8.domain
Class Capacity
java.lang.Object
org.jclouds.trmk.vcloud_0_8.domain.Capacity
public class Capacity
- extends Object
reports storage resource consumption in a vDC.
- Author:
- Adrian Cole
Constructor Summary |
Capacity(String units,
long allocated,
long limit,
int used,
long overhead)
|
Capacity
public Capacity(String units,
long allocated,
long limit,
int used,
long overhead)
getUnits
public String getUnits()
getAllocated
public long getAllocated()
getLimit
public long getLimit()
getUsed
public int getUsed()
- percentage of the allocation in use.
getOverhead
public long getOverhead()
- number of Units allocated to vShield Manager virtual machines provisioned from this vDC.
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2009-2011 jclouds. All Rights Reserved.