GridSim 5.0 beta

gridsim.resFailure
Interface AllocPolicyWithFailure

All Known Implementing Classes:
SpaceSharedWithFailure, TimeSharedWithFailure

public interface AllocPolicyWithFailure

The structure of an allocation policy supporting resource failure. Use this class in addition to AllocPolicy class.

Since:
GridSim Toolkit 4.1
Author:
Agustin Caminero
See Also:
AllocPolicy

Method Summary
 void setGridletsFailed()
          Sets the status of all Gridlets in this resource to FAILED.
 void setGridletsFailed(int failedMachID)
          Sets the status of all Gridlets in this machine to FAILED.
 

Method Detail

setGridletsFailed

void setGridletsFailed()
Sets the status of all Gridlets in this resource to FAILED. Then sends them back to users, and clean up the relevant lists.


setGridletsFailed

void setGridletsFailed(int failedMachID)
Sets the status of all Gridlets in this machine to FAILED. Then sends them back to users, and clean up the relevant lists.

Parameters:
failedMachID - the id of the failed machine

GridSim 5.0 beta

The University of Melbourne, Australia, 2009