cloudsim-plus-master/cloudsim-plus-master/cloudsim-plus/src/main/java/org/cloudsimplus/faultinjection/HostFaultInjection.java
public void addVmCloner(DatacenterBroker broker, VmCloner cloner) {
        Objects.requireNonNull(broker);
        Objects.requireNonNull(cloner);
        this.vmClonerMap.put(broker, cloner);
    }
/**
     * Adds a {@link VmCloner} that creates a clone for the last failed {@link Vm} belonging to a given broker,
     * when all VMs of that broker have failed.
     *
     * <p>This is optional. If a {@link VmCloner} is not set,
     * VMs will not be recovered from failures.</p>
     *
     * @param broker the broker to set the VM cloner Function to
     * @param cloner the {@link VmCloner} to set
     */
Adds a  VmCloner that creates a clone for the last failed  Vm belonging to a given broker,
when all VMs of that broker have failed.

This is optional. If a  VmCloner is not set,
VMs will not be recovered from failures.

@param broker the broker to set the VM cloner Function to
@param cloner the  VmCloner to set
Adds a VmCloner that creates a clone for the last failed Vm belonging to a given broker when all VMs of that broker have failed . This is optional . If a VmCloner is not set VMs will not be recovered from failures . @param broker the broker to set the VM cloner Function to @param cloner the VmCloner to set
public void addVmCloner(DatacenterBroker broker, VmCloner cloner) {
        Objects.requireNonNull(broker);
        Objects.requireNonNull(cloner);
        this.vmClonerMap.put(broker, cloner);
    }
public void addVmCloner ( DatacenterBroker broker , VmCloner cloner ) { Objects . requireNonNull ( broker ) ; Objects . requireNonNull ( cloner ) ; this . vmClonerMap . put ( broker , cloner ) ; }
Adds a {@link VmCloner} that creates a clone for the last failed {@link Vm} belonging to a given broker,
 when all VMs of that broker have failed.
Adds a { @link VmCloner } that creates a clone for the last failed { @link Vm } belonging to a given broker when all VMs of that broker have failed .