⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 allocpolicywithfailure.java

📁 中間件開發详细说明:清华大学J2EE教程讲义(ppt)-Tsinghua University J2EE tutorial lectures (ppt) [上载源码成为会员下载此源码] [成为VIP会
💻 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

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -