?? allocpolicywithfailure.java
字號:
/* * Title: GridSim Toolkit * Description: GridSim (Grid Simulation) Toolkit for Modeling and Simulation * of Parallel and Distributed Systems such as Clusters and Grids * Licence: GPL - http://www.gnu.org/copyleft/gpl.html * * Author: Agustin Caminero * Organization: Universidad de Castilla La Mancha (UCLM), Spain. * Created on: Nov 2006. */package gridsim.resFailure;/** * The structure of an allocation policy supporting resource failure. * Use this class in addition to {@link gridsim.AllocPolicy} class. * @author Agustin Caminero * @since GridSim Toolkit 4.1 * @see gridsim.AllocPolicy */public interface AllocPolicyWithFailure{ /** * Sets the status of all Gridlets in this resource to <tt>FAILED</tt>. * Then sends them back to users, and clean up the relevant lists. */ public abstract void setGridletsFailed(); /** * Sets the status of all Gridlets in this machine to <tt>FAILED</tt>. * Then sends them back to users, and clean up the relevant lists. * @param failedMachID the id of the failed machine */ public abstract void setGridletsFailed(int failedMachID);} // end class
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -