Package org.cloudsimplus.builders
Class HostBuilder
java.lang.Object
org.cloudsimplus.builders.HostBuilder
- All Implemented Interfaces:
Builder
- Since:
- CloudSim Plus 1.0
- Author:
- Manoel Campos da Silva Filho
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate()
Creates a single Host and stores it internally.create
(int amount) Creates a list of Hosts and stores it internally.getHosts()
Gets the list of all created Hosts.double
getMips()
int
getPes()
void
setHostCreationFunction
(Function<List<Pe>, Host> hostCreationFunction) Sets aFunction
used to create Hosts.setMips
(double defaultMIPS) setPes
(int defaultPEs) setVmSchedulerSupplier
(Supplier<VmScheduler> vmSchedulerSupplier) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.cloudsimplus.builders.Builder
validateAmount
-
Constructor Details
-
HostBuilder
public HostBuilder()
-
-
Method Details
-
create
Creates a single Host and stores it internally.- Returns:
- See Also:
-
create
Creates a list of Hosts and stores it internally.- Returns:
- See Also:
-
getHosts
Gets the list of all created Hosts.- Returns:
- See Also:
-
getMips
public double getMips() -
setMips
-
getPes
public int getPes() -
setPes
-
setHostCreationFunction
- Parameters:
hostCreationFunction
-
-
setOnUpdateVmsProcessingListener
public HostBuilder setOnUpdateVmsProcessingListener(EventListener<HostUpdatesVmsProcessingEventInfo> listener) -
setVmSchedulerSupplier
-