Class Bandwidth
java.lang.Object
org.cloudsimplus.resources.ResourceAbstract
org.cloudsimplus.resources.ResourceManageableAbstract
org.cloudsimplus.resources.Bandwidth
- All Implemented Interfaces:
Resource,ResourceCapacity,ResourceManageable
-
Field Summary
Fields inherited from class org.cloudsimplus.resources.ResourceAbstract
capacityFields inherited from interface org.cloudsimplus.resources.ResourceManageable
NULL -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.cloudsimplus.resources.ResourceManageableAbstract
addCapacity, allocateResource, deallocateAllResources, deallocateAndRemoveResource, deallocateResource, getAvailableResource, removeCapacity, setAllocatedResource, setAvailableResource, setCapacity, sumAvailableResource, sumCapacity, toStringMethods inherited from class org.cloudsimplus.resources.ResourceAbstract
getAllocatedResource, isAmountAvailable, isAmountAvailable, isResourceAmountBeingUsed, isSuitableMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.cloudsimplus.resources.Resource
getAllocatedResource, getPercentUtilization, getUnit, isAmountAvailable, isAmountAvailable, isAmountAvailable, isFull, isSubClassOfMethods inherited from interface org.cloudsimplus.resources.ResourceCapacity
getCapacityMethods inherited from interface org.cloudsimplus.resources.ResourceManageable
allocateResource, deallocateResource, isResourceAmountBeingUsed, isSuitable, setAllocatedResource
-
Constructor Details
-
Bandwidth
public Bandwidth(long capacity) Creates a new Bandwidth resource.- Parameters:
capacity- the bandwidth capacity in Megabits/s
-