org.cloudbus.cloudsim.selectionpolicies.VmSelectionPolicyNull Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cloudsim-plus Show documentation
Show all versions of cloudsim-plus Show documentation
CloudSim Plus: A modern, highly extensible and easier-to-use Java 8 Framework for Modeling and Simulation of Cloud Computing Infrastructures and Services
package org.cloudbus.cloudsim.selectionpolicies;
import org.cloudbus.cloudsim.hosts.Host;
import org.cloudbus.cloudsim.vms.Vm;
/**
* A class that implements the Null Object Design Pattern for {@link VmSelectionPolicy}
* class.
*
* @author Manoel Campos da Silva Filho
* @see VmSelectionPolicy#NULL
* @since CloudSim Plus 4.1.2
*/
final class VmSelectionPolicyNull implements VmSelectionPolicy {
@Override public Vm getVmToMigrate(Host host) { return Vm.NULL; }
}