Package org.cloudbus.cloudsim.resources
Class Bandwidth
- java.lang.Object
-
- org.cloudbus.cloudsim.resources.ResourceAbstract
-
- org.cloudbus.cloudsim.resources.ResourceManageableAbstract
-
- org.cloudbus.cloudsim.resources.Bandwidth
-
- All Implemented Interfaces:
Resource
,ResourceCapacity
,ResourceManageable
public final class Bandwidth extends ResourceManageableAbstract
Represents the Bandwidth (BW) capacity of a PM or VM in Megabits/s. Such a class allows managing the BW capacity and allocation.- Since:
- CloudSim Plus 1.0
- Author:
- Manoel Campos da Silva Filho
-
-
Field Summary
-
Fields inherited from class org.cloudbus.cloudsim.resources.ResourceAbstract
capacity
-
Fields inherited from interface org.cloudbus.cloudsim.resources.ResourceManageable
NULL
-
-
Constructor Summary
Constructors Constructor Description Bandwidth(long capacity)
Creates a new Bandwidth resource.
-
Method Summary
-
Methods inherited from class org.cloudbus.cloudsim.resources.ResourceManageableAbstract
addCapacity, allocateResource, deallocateAllResources, deallocateAndRemoveResource, deallocateResource, getAvailableResource, removeCapacity, setAllocatedResource, setAvailableResource, setCapacity, sumAvailableResource, sumCapacity, toString
-
Methods inherited from class org.cloudbus.cloudsim.resources.ResourceAbstract
getAllocatedResource, getCapacity, isAmountAvailable, isAmountAvailable, isResourceAmountBeingUsed, isSuitable
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.cloudbus.cloudsim.resources.Resource
getAllocatedResource, getPercentUtilization, isAmountAvailable, isAmountAvailable, isAmountAvailable, isFull, isObjectSubClassOf
-
Methods inherited from interface org.cloudbus.cloudsim.resources.ResourceCapacity
getCapacity
-
Methods inherited from interface org.cloudbus.cloudsim.resources.ResourceManageable
allocateResource, deallocateResource, isResourceAmountBeingUsed, isSuitable, setAllocatedResource
-
-