Class Ram
java.lang.Object
org.cloudsimplus.resources.ResourceAbstract
org.cloudsimplus.resources.ResourceManageableAbstract
org.cloudsimplus.resources.Ram
- All Implemented Interfaces:
Resource,ResourceCapacity,ResourceManageable
- Direct Known Subclasses:
VmRam
-
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
-
Ram
public Ram(long capacity) Creates a RAM resource.- Parameters:
capacity- the RAM capacity in Megabytes (MB)
-