gridletsubmission.java

来自「中間件開發详细说明:清华大学J2EE教程讲义(ppt)-Tsinghua Uni」· Java 代码 · 共 55 行

JAVA
55
字号
/* * Title:        GridSim Toolkit * Description:  GridSim (Grid Simulation) Toolkit for Modeling and Simulation *               of Parallel and Distributed Systems such as Clusters and Grids *               An example of how to use the failure functionality. * Licence:      GPL - http://www.gnu.org/copyleft/gpl.html * * Author: Agustin Caminero and Anthony Sulistio * Organization: UCLM (Spain) * Created on: August 2007 */import gridsim.Gridlet;/** * This class is just a wrapper to denote * whether this gridlet has been already submitted or not * @author       Agustin Caminero and Anthony Sulistio * @since        GridSim Toolkit 4.1 */public class GridletSubmission{    private Gridlet gl;    private boolean submitted;    public GridletSubmission(Gridlet gl,boolean submitted)    {        this.gl = gl;        this.submitted = submitted;    }    public Gridlet getGridlet()    {        return gl;    }    public boolean getSubmitted()    {        return submitted;    }    public void setGridlet(Gridlet g)    {        this.gl = g;    }    public void setSubmitted(boolean submitted)    {        this.submitted = submitted;    }} // end class

⌨️ 快捷键说明

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