Package org.cloudbus.cloudsim.resources
Interface ResourceCapacity
- All Known Subinterfaces:
FileStorage
,Pe
,Resource
,ResourceManageable
- All Known Implementing Classes:
Bandwidth
,HarddriveStorage
,PeSimple
,Processor
,Ram
,ResourceAbstract
,ResourceManageableAbstract
,SanStorage
,Storage
public interface ResourceCapacity
An interface to allow getting the capacity of a given resource.
- Since:
- CloudSim Plus 1.0
- Author:
- Manoel Campos da Silva Filho
-
Method Summary
Modifier and Type Method Description long
getCapacity()
Gets the total capacity of the resource.
-
Method Details
-
getCapacity
long getCapacity()Gets the total capacity of the resource.- Returns:
- the total resource capacity
-