Uses of Interface
org.cloudbus.cloudsim.datacenters.Datacenter
Package | Description |
---|---|
org.cloudbus.cloudsim.allocationpolicies |
Provides classes that implement policies for a
Datacenter
to select a Host to place or migrate a VM, based on some criteria defined by each class. |
org.cloudbus.cloudsim.brokers |
Provides
DatacenterBroker classes that act on behalf of a cloud customer,
attending his/her requests for creation and destruction of
Cloudlets and
VMs , assigning such Cloudlets to specific VMs. |
org.cloudbus.cloudsim.cloudlets | |
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.datacenters |
Provides
Datacenter implementations,
that represents a physical Cloud Datacenter and contains a set of
Host that together provide the basic cloud infrastructure. |
org.cloudbus.cloudsim.datacenters.network |
Provides network-enabled
Datacenter implementations. |
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.builders |
Provides
Builder classes that
implement the Builder Design Pattern
to allow instantiating multiple simulation objects more easily. |
org.cloudsimplus.faultinjection |
Provides classes to inject random faults during simulation runtime.
|
org.cloudsimplus.listeners |
Provides
EventListener
implementations to enable event notifications during simulation execution. |
org.cloudsimplus.testbeds |
Provides base classes to enable implementing testbeds in a repeatable manner,
allowing a researcher to execute several simulation runs
for a given experiment and collect statistical data using a scientific approach.
|
org.cloudsimplus.traces.google |
Provides classes to process trace files from Google
Cluster Data that create objects such as Hosts and Cloudlets from such
files.
|
-
Uses of Datacenter in org.cloudbus.cloudsim.allocationpolicies
Methods in org.cloudbus.cloudsim.allocationpolicies that return Datacenter Modifier and Type Method Description Datacenter
VmAllocationPolicy. getDatacenter()
Gets theDatacenter
associated to the Allocation Policy.Datacenter
VmAllocationPolicyAbstract. getDatacenter()
Methods in org.cloudbus.cloudsim.allocationpolicies with parameters of type Datacenter Modifier and Type Method Description void
VmAllocationPolicy. setDatacenter(Datacenter datacenter)
Sets the Datacenter associated to the Allocation Policyvoid
VmAllocationPolicyAbstract. setDatacenter(Datacenter datacenter)
Sets the Datacenter associated to the Allocation Policy -
Uses of Datacenter in org.cloudbus.cloudsim.brokers
Methods in org.cloudbus.cloudsim.brokers that return Datacenter Modifier and Type Method Description protected Datacenter
DatacenterBrokerAbstract. closestDatacenterMapper(Datacenter lastDatacenter, Vm vm)
The policy used to select the closest Datacenter to run eachwaiting VM
, according to their timezone offset.protected abstract Datacenter
DatacenterBrokerAbstract. defaultDatacenterMapper(Datacenter lastDatacenter, Vm vm)
The default policy used to select a Datacenter to runwaiting VMs
.protected Datacenter
DatacenterBrokerSimple. defaultDatacenterMapper(Datacenter lastDatacenter, Vm vm)
The default policy used to select a Datacenter to runwaiting VMs
.protected Datacenter
DatacenterBrokerAbstract. getDatacenter(Vm vm)
Gets the Datacenter where a VM is placed.Methods in org.cloudbus.cloudsim.brokers that return types with arguments of type Datacenter Modifier and Type Method Description protected java.util.List<Datacenter>
DatacenterBrokerAbstract. getDatacenterList()
Gets the list of available datacenters.Methods in org.cloudbus.cloudsim.brokers with parameters of type Datacenter Modifier and Type Method Description protected Datacenter
DatacenterBrokerAbstract. closestDatacenterMapper(Datacenter lastDatacenter, Vm vm)
The policy used to select the closest Datacenter to run eachwaiting VM
, according to their timezone offset.protected abstract Datacenter
DatacenterBrokerAbstract. defaultDatacenterMapper(Datacenter lastDatacenter, Vm vm)
The default policy used to select a Datacenter to runwaiting VMs
.protected Datacenter
DatacenterBrokerSimple. defaultDatacenterMapper(Datacenter lastDatacenter, Vm vm)
The default policy used to select a Datacenter to runwaiting VMs
.Method parameters in org.cloudbus.cloudsim.brokers with type arguments of type Datacenter Modifier and Type Method Description DatacenterBroker
DatacenterBroker. setDatacenterMapper(java.util.function.BiFunction<Datacenter,Vm,Datacenter> datacenterMapper)
Sets theBiFunction
that selects and returns a Datacenter to place submitted VMs.DatacenterBroker
DatacenterBroker. setDatacenterMapper(java.util.function.BiFunction<Datacenter,Vm,Datacenter> datacenterMapper)
Sets theBiFunction
that selects and returns a Datacenter to place submitted VMs.DatacenterBroker
DatacenterBrokerAbstract. setDatacenterMapper(java.util.function.BiFunction<Datacenter,Vm,Datacenter> datacenterMapper)
DatacenterBroker
DatacenterBrokerAbstract. setDatacenterMapper(java.util.function.BiFunction<Datacenter,Vm,Datacenter> datacenterMapper)
-
Uses of Datacenter in org.cloudbus.cloudsim.cloudlets
Methods in org.cloudbus.cloudsim.cloudlets with parameters of type Datacenter Modifier and Type Method Description void
Cloudlet. assignToDatacenter(Datacenter datacenter)
Sets the parameters of the Datacenter where the Cloudlet is going to be executed.void
CloudletAbstract. assignToDatacenter(Datacenter datacenter)
protected double
CloudletAbstract. getActualCpuTime(Datacenter datacenter)
Gets the total execution time of this Cloudlet in a given Datacenter ID.double
Cloudlet. getArrivalTime(Datacenter datacenter)
Gets the arrival time of this Cloudlet in the given Datacenter.double
CloudletAbstract. getArrivalTime(Datacenter datacenter)
double
Cloudlet. getCostPerSec(Datacenter datacenter)
Gets the cost running this Cloudlet in a given Datacenter.double
CloudletAbstract. getCostPerSec(Datacenter datacenter)
long
Cloudlet. getFinishedLengthSoFar(Datacenter datacenter)
Gets the length of this Cloudlet that has been executed so far (in MI), according to theCloudlet.getLength()
.long
CloudletAbstract. getFinishedLengthSoFar(Datacenter datacenter)
protected double
CloudletAbstract. getWallClockTime(Datacenter datacenter)
Gets the time of this Cloudlet resides in a given Datacenter (from arrival time until departure time). -
Uses of Datacenter in org.cloudbus.cloudsim.core
Methods in org.cloudbus.cloudsim.core that return Datacenter Modifier and Type Method Description Datacenter
CustomerEntity. getLastTriedDatacenter()
Gets the last Datacenter where VM was tried to be created.Datacenter
CustomerEntityAbstract. getLastTriedDatacenter()
Methods in org.cloudbus.cloudsim.core that return types with arguments of type Datacenter Modifier and Type Method Description java.util.Set<Datacenter>
CloudInformationService. getDatacenterList()
Gets the list of all registered Datacenters.Methods in org.cloudbus.cloudsim.core with parameters of type Datacenter Modifier and Type Method Description void
CustomerEntity. setLastTriedDatacenter(Datacenter lastTriedDatacenter)
Sets the last Datacenter where VM was tried to be created.void
CustomerEntityAbstract. setLastTriedDatacenter(Datacenter lastTriedDatacenter)
-
Uses of Datacenter in org.cloudbus.cloudsim.datacenters
Classes in org.cloudbus.cloudsim.datacenters that implement Datacenter Modifier and Type Class Description class
DatacenterSimple
Implements the basic features of a Virtualized Cloud Datacenter.Fields in org.cloudbus.cloudsim.datacenters declared as Datacenter Modifier and Type Field Description static Datacenter
Datacenter. NULL
A property that implements the Null Object Design Pattern forDatacenter
objects.Methods in org.cloudbus.cloudsim.datacenters that return Datacenter Modifier and Type Method Description <T extends Host>
DatacenterDatacenter. addHost(T host)
Physically expands the Datacenter by adding a new Host (physical machine) to it.<T extends Host>
DatacenterDatacenterSimple. addHost(T host)
<T extends Host>
DatacenterDatacenter. addHostList(java.util.List<T> hostList)
Physically expands the Datacenter by adding a List of new Hosts (physical machines) to it.<T extends Host>
DatacenterDatacenterSimple. addHostList(java.util.List<T> hostList)
Datacenter
Datacenter. addOnHostAvailableListener(EventListener<HostEventInfo> listener)
Adds aEventListener
object that will be notified every time when the a new Hosts is available for the Datacenter during simulation runtime.Datacenter
DatacenterSimple. addOnHostAvailableListener(EventListener<HostEventInfo> listener)
static Datacenter
TimeZoned. closestDatacenter(Vm vm, java.util.List<Datacenter> datacenters)
Selects theDatacenter
closest to a givenVm
, based on their timezone.Datacenter
Datacenter. disableMigrations()
Disable VM migrations.Datacenter
DatacenterSimple. disableMigrations()
Datacenter
Datacenter. enableMigrations()
Enable VM migrations.Datacenter
DatacenterSimple. enableMigrations()
Datacenter
DatacenterCharacteristics. getDatacenter()
Gets theDatacenter
that owns these characteristicsDatacenter
DatacenterCharacteristicsSimple. getDatacenter()
<T extends Host>
DatacenterDatacenter. removeHost(T host)
Removes a Host from its Datacenter.<T extends Host>
DatacenterDatacenterSimple. removeHost(T host)
Datacenter
Datacenter. setSchedulingInterval(double schedulingInterval)
Sets the scheduling delay to process each event received by the Datacenter (in seconds).Datacenter
DatacenterSimple. setSchedulingInterval(double schedulingInterval)
Datacenter
DatacenterSimple. setTimeZone(double timeZone)
Datacenter
DatacenterSimple. setVmAllocationPolicy(VmAllocationPolicy vmAllocationPolicy)
Sets the policy to be used by the Datacenter to allocate VMs into hosts.Methods in org.cloudbus.cloudsim.datacenters with parameters of type Datacenter Modifier and Type Method Description protected DatacenterPowerSupply
DatacenterPowerSupply. setDatacenter(Datacenter datacenter)
Method parameters in org.cloudbus.cloudsim.datacenters with type arguments of type Datacenter Modifier and Type Method Description static Datacenter
TimeZoned. closestDatacenter(Vm vm, java.util.List<Datacenter> datacenters)
Selects theDatacenter
closest to a givenVm
, based on their timezone.Constructors in org.cloudbus.cloudsim.datacenters with parameters of type Datacenter Constructor Description DatacenterCharacteristicsSimple(Datacenter datacenter)
DatacenterPowerSupply(Datacenter datacenter)
-
Uses of Datacenter in org.cloudbus.cloudsim.datacenters.network
Classes in org.cloudbus.cloudsim.datacenters.network that implement Datacenter Modifier and Type Class Description class
NetworkDatacenter
NetworkDatacenter class is aDatacenter
whose hostList are virtualized and networked. -
Uses of Datacenter in org.cloudbus.cloudsim.hosts
Methods in org.cloudbus.cloudsim.hosts that return Datacenter Modifier and Type Method Description Datacenter
Host. getDatacenter()
Gets the Datacenter where the host is placed.Datacenter
HostSimple. getDatacenter()
Methods in org.cloudbus.cloudsim.hosts with parameters of type Datacenter Modifier and Type Method Description void
Host. setDatacenter(Datacenter datacenter)
Sets the Datacenter where the host is placed.void
HostSimple. setDatacenter(Datacenter datacenter)
-
Uses of Datacenter in org.cloudbus.cloudsim.resources
Methods in org.cloudbus.cloudsim.resources that return Datacenter Modifier and Type Method Description Datacenter
DatacenterStorage. getDatacenter()
Datacenter
File. getDatacenter()
Gets the Datacenter that stores the file.Methods in org.cloudbus.cloudsim.resources with parameters of type Datacenter Modifier and Type Method Description void
DatacenterStorage. setDatacenter(Datacenter datacenter)
File
File. setDatacenter(Datacenter datacenter)
Sets the Datacenter that will store the file. -
Uses of Datacenter in org.cloudbus.cloudsim.vms
Methods in org.cloudbus.cloudsim.vms with parameters of type Datacenter Modifier and Type Method Description void
Vm. notifyOnCreationFailureListeners(Datacenter failedDatacenter)
Notifies all registered listeners when the Vm fail in being placed for lack of aHost
with enough resources in a specificDatacenter
.void
VmSimple. notifyOnCreationFailureListeners(Datacenter failedDatacenter)
-
Uses of Datacenter in org.cloudsimplus.builders
Methods in org.cloudsimplus.builders that return Datacenter Modifier and Type Method Description Datacenter
DatacenterBuilder. get(int index)
Methods in org.cloudsimplus.builders that return types with arguments of type Datacenter Modifier and Type Method Description java.util.List<Datacenter>
DatacenterBuilder. getDatacenters()
Method parameters in org.cloudsimplus.builders with type arguments of type Datacenter Modifier and Type Method Description void
DatacenterBuilder. setDatacenterCreationFunction(java.util.function.Function<java.util.List<Host>,Datacenter> datacenterCreationFunction)
Sets aFunction
used to create Datacenters. -
Uses of Datacenter in org.cloudsimplus.faultinjection
Methods in org.cloudsimplus.faultinjection that return Datacenter Modifier and Type Method Description Datacenter
HostFaultInjection. getDatacenter()
Gets the datacenter in which failures will be injected.Methods in org.cloudsimplus.faultinjection with parameters of type Datacenter Modifier and Type Method Description protected void
HostFaultInjection. setDatacenter(Datacenter datacenter)
Sets the datacenter in which failures will be injected.Constructors in org.cloudsimplus.faultinjection with parameters of type Datacenter Constructor Description HostFaultInjection(Datacenter datacenter)
Creates a fault injection mechanism for the Hosts of a givenDatacenter
.HostFaultInjection(Datacenter datacenter, ContinuousDistribution faultArrivalHoursGenerator)
Creates a fault injection mechanism for the Hosts of a givenDatacenter
. -
Uses of Datacenter in org.cloudsimplus.listeners
Methods in org.cloudsimplus.listeners that return Datacenter Modifier and Type Method Description Datacenter
DatacenterEventInfo. getDatacenter()
Gets theDatacenter
for which the event happened.Methods in org.cloudsimplus.listeners with parameters of type Datacenter Modifier and Type Method Description static VmDatacenterEventInfo
VmDatacenterEventInfo. of(EventListener<? extends EventInfo> listener, Vm vm, Datacenter datacenter)
Gets a VmDatacenterEventInfo instance from the given parameters. -
Uses of Datacenter in org.cloudsimplus.testbeds
Methods in org.cloudsimplus.testbeds that return Datacenter Modifier and Type Method Description protected Datacenter
Experiment. createDatacenter(int index)
Creates a datacenter using aVmAllocationPolicy
supplied by theExperiment.vmAllocationPolicySupplier
.Methods in org.cloudsimplus.testbeds that return types with arguments of type Datacenter Modifier and Type Method Description java.util.List<Datacenter>
Experiment. getDatacenterList()
-
Uses of Datacenter in org.cloudsimplus.traces.google
Methods in org.cloudsimplus.traces.google that return Datacenter Modifier and Type Method Description Datacenter
GoogleMachineEventsTraceReader. getDatacenterForLaterHosts()
Gets the Datacenter where the Hosts with timestamp greater than 0 will be created.Methods in org.cloudsimplus.traces.google with parameters of type Datacenter Modifier and Type Method Description void
GoogleMachineEventsTraceReader. setDatacenterForLaterHosts(Datacenter datacenterForLaterHosts)