Uses of Interface
org.cloudbus.cloudsim.resources.Resource
Package | Description |
---|---|
org.cloudbus.cloudsim.core |
Provides core classes used just internally by CloudSim Plus,
except the
CloudSim class that is the
start point and main class used to run simulations. |
org.cloudbus.cloudsim.hosts |
Provides
Host implementations
that represent a Physical Machine (PM) is used to run Vm
from different cloud customers
(represented by a DatacenterBroker ). |
org.cloudbus.cloudsim.resources |
Provides classes that represent different physical and logical
Resource used by simulation
objects such as Hosts and VMs. |
org.cloudbus.cloudsim.vms |
Provides implementations of Virtual Machines (
Vm )
which are a software package that emulate the architecture of a physical machine. |
org.cloudsimplus.autoscaling |
Provides classes to enable horizontal and vertical scaling
of VMs in order to, respectively, adapt resource requirements to current workload
and to balance load across different VMs.
|
-
Uses of Resource in org.cloudbus.cloudsim.core
Methods in org.cloudbus.cloudsim.core that return Resource Modifier and Type Method Description Resource
Machine. getBw()
Gets the machine bandwidth (bw) capacity in Megabits/s.Resource
Machine. getRam()
Gets the machine memory resource in Megabytes.Resource
Machine. getStorage()
Gets the storage device of the machine with capacity in Megabytes. -
Uses of Resource in org.cloudbus.cloudsim.hosts
Methods in org.cloudbus.cloudsim.hosts that return Resource Modifier and Type Method Description Resource
HostSimple. getBw()
Resource
HostSimple. getRam()
Resource
HostSimple. getStorage()
-
Uses of Resource in org.cloudbus.cloudsim.resources
Subinterfaces of Resource in org.cloudbus.cloudsim.resources Modifier and Type Interface Description interface
FileStorage
An interface which defines the desired functionality of a storage system in a Data Cloud that performs operations on a file system, such as file inclusion, exclusion and renaming.interface
Pe
A interface to be implemented by each class that provides the basic features of a virtual or physical Processing Element (PE) of a PM or VM.interface
ResourceManageable
An interface to represent a physical or virtual resource (like RAM, CPU or Bandwidth) with features to manage resource capacity and allocation.Classes in org.cloudbus.cloudsim.resources that implement Resource Modifier and Type Class Description class
Bandwidth
Represents the Bandwidth (BW) capacity of a PM or VM in Megabits/s.class
HarddriveStorage
An implementation of a Hard Drive (HD) storage device.class
PeSimple
Pe (Processing Element) class represents a CPU core of a physical machine (PM), defined in terms of Millions Instructions Per Second (MIPS) rating.class
Processor
class
Ram
Represents the RAM resource of a PM or VM in Megabytes.class
ResourceAbstract
An abstract implementation of aResource
.class
ResourceManageableAbstract
A class that represents simple resources such as RAM, CPU, Bandwidth or Pe.class
SanStorage
SanStorage represents a Storage Area Network (SAN) composed of a set of hard disks connected in a LAN.class
Storage
A simple storage that just manages the device capacity and raw allocated (used) space.Fields in org.cloudbus.cloudsim.resources declared as Resource Modifier and Type Field Description static Resource
Resource. NULL
An attribute that implements the Null Object Design Pattern forResource
objects.Methods in org.cloudbus.cloudsim.resources with parameters of type Resource Modifier and Type Method Description default boolean
ResourceManageable. allocateResource(Resource resource)
Try to allocate in this resource, the amount of resource specified by the capacity of the given resource.default boolean
ResourceManageable. deallocateResource(Resource resource)
Try to deallocate all the capacity of the given resource from this resource.default boolean
Resource. isAmountAvailable(Resource resource)
Checks if there the capacity required for the given resource is available (free) at this resource. -
Uses of Resource in org.cloudbus.cloudsim.vms
Methods in org.cloudbus.cloudsim.vms that return Resource Modifier and Type Method Description Resource
Vm. getBw()
Gets bandwidth resource (in Megabits/s) assigned to the Vm, allowing to check its capacity and usage.Resource
VmSimple. getBw()
Resource
Vm. getRam()
Gets the RAM resource assigned to the Vm, allowing to check its capacity (in Megabytes) and usage.Resource
VmSimple. getRam()
Resource
Vm. getStorage()
Gets the storage device of the VM, which represents the VM image, allowing to check its capacity (in Megabytes) and usage.Resource
VmSimple. getStorage()
-
Uses of Resource in org.cloudsimplus.autoscaling
Methods in org.cloudsimplus.autoscaling that return Resource Modifier and Type Method Description Resource
VerticalVmScaling. getResource()
Gets the actual VmResource
this scaling object is in charge of scaling.Resource
VerticalVmScalingSimple. getResource()