org.jclouds.vcloud.domain
Class Capacity

java.lang.Object
  extended by org.jclouds.vcloud.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)
           
 
Method Summary
 boolean equals(Object obj)
           
 long getAllocated()
           
 long getLimit()
           
 long getOverhead()
          number of Units allocated to vShield Manager virtual machines provisioned from this vDC.
 String getUnits()
           
 int getUsed()
          percentage of the allocation in use.
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Capacity

public Capacity(String units,
                long allocated,
                long limit,
                int used,
                long overhead)
Method Detail

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-2012 jclouds. All Rights Reserved.