Package org.cloudsimplus.traces.google
Class BrokerManager
java.lang.Object
org.cloudsimplus.traces.google.BrokerManager
Manages creation and access to
DatacenterBroker
s used by
GoogleTaskEventsTraceReader
.- Since:
- CloudSim Plus 7.0.1
- Author:
- Manoel Campos da Silva Filho
-
Method Summary
Modifier and TypeMethodDescriptionGets the List of brokers created according to the username from the trace file, representing a customer.void
setDefaultBroker
(DatacenterBroker broker) Defines a default broker to will be used for all created Cloudlets.
-
Method Details
-
getBrokers
Gets the List of brokers created according to the username from the trace file, representing a customer.- Returns:
- See Also:
-
setDefaultBroker
Defines a default broker to will be used for all created Cloudlets. This way, the username field inside the trace file won't be used to dynamically create brokers. ThegetBrokers()
will only return an unitary list containing this broker.- Parameters:
broker
- the broker for all created cloudlets, representing a single username (customer)
-