亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? gridresourcewithfailure.java

?? 中間件開發詳細說明:清華大學J2EE教程講義(ppt)-Tsinghua University J2EE tutorial lectures (ppt) [上載源碼成為會員下載此源碼] [成為VIP會
?? JAVA
?? 第 1 頁 / 共 4 頁
字號:
/* * 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 and Anthony Sulistio * Organization: Universidad de Castilla La Mancha (UCLM), Spain. * Created on: Nov 2006. */package gridsim.resFailure;import gridsim.resFailure.*;import gridsim.*;import gridsim.net.*;import gridsim.index.*;import java.util.LinkedList;import eduni.simjava.Sim_event;import eduni.simjava.Sim_system;import gridsim.resFailure.FailureMsg;import java.io.FileWriter;/** * GridResourceWithFailure is based on {@link gridsim.GridResource}, but with * added failure functionalities. * GridResourceWithFailure extends the {@link gridsim.GridSimCore} class for * gaining communication and concurrent entity capabilities. * An instance of this class stimulates a resource * with properties defined in an object of * {@link gridsim.ResourceCharacteristics} class. * * @author       Agustin Caminero and Anthony Sulistio * @since        GridSim Toolkit 4.1 * @see gridsim.GridResource * @see gridsim.ResourceCharacteristics * @see gridsim.resFailure.AllocPolicyWithFailure * @invariant $none */public class GridResourceWithFailure extends GridSimCore{    /** Characteristics of this resource */    protected ResourceCharacteristics resource_;    /** a ResourceCalendar object */    protected ResourceCalendar resCalendar_;    /** A resource's scheduler. This object is reponsible in scheduling and     * and executing submitted Gridlets.     */    protected AllocPolicy policy_;    /** A scheduler type of this resource, such as FCFS, Round Robin, etc */    protected int policyType_;    /** Integer object size, including its overhead */    protected final int SIZE = 12;    /** Regional GIS entity name */    protected String regionalGISName_;    // a flag to denote whether to record events into a file or not    private boolean record_ = false;    /**     * Allocates a new GridResourceWithFailure object. When making a different     * type of GridResourceWithFailure object, use     * {@link #GridResourceWithFailure(String, double, ResourceCharacteristics,     *                      ResourceCalendar, AllocPolicyWithFailure)}     * and then overrides {@link #processOtherEvent(Sim_event)}.     *     * @param name       the name to be associated with this entity (as     *                   required by Sim_entity class from simjava package)     * @param baud_rate  network communication or bandwidth speed     * @param seed       the initial seed     * @param resource   an object of ResourceCharacteristics     * @param peakLoad   the load during peak times     * @param offPeakLoad   the load during off peak times     * @param relativeHolidayLoad   the load during holiday times     * @param weekends   a linked-list contains the weekend days     * @param holidays   a linked-list contains the public holidays     * @throws Exception This happens when one of the following scenarios occur:     *      <ul>     *          <li> creating this entity before initializing GridSim package     *          <li> this entity name is <tt>null</tt> or empty     *          <li> this entity has <tt>zero</tt> number of PEs (Processing     *              Elements). <br>     *              No PEs mean the Gridlets can't be processed.     *              A GridResourceWithFailure must contain one or more Machines.     *              A Machine must contain one or more PEs.     *      </ul>     * @see gridsim.GridSim#init(int, Calendar, boolean, String[], String[],     *          String)     * @see gridsim.GridSim#init(int, Calendar, boolean)     * @see #GridResourceWithFailure(String, double,     *      ResourceCharacteristics, ResourceCalendar, AllocPolicyWithFailure)     * @pre name != null     * @pre baud_rate > 0     * @pre resource != null     * @post $none     */    public GridResourceWithFailure(String name, double baud_rate, long seed,            ResourceCharacteristics resource, double peakLoad,            double offPeakLoad, double relativeHolidayLoad,            LinkedList weekends, LinkedList holidays) throws Exception    {        super(name, baud_rate);        resource_ = resource;        resCalendar_ = new ResourceCalendar(resource_.getResourceTimeZone(),                peakLoad, offPeakLoad, relativeHolidayLoad, weekends,                holidays, seed);        policy_ = null;        init();    }    /**     * Allocates a new GridResourceWithFailure object. When making a different     * type of GridResourceWithFailure object, use     * {@link #GridResourceWithFailure(String, double, ResourceCharacteristics,     *                      ResourceCalendar, AllocPolicyWithFailure)}     * and then overrides {@link #processOtherEvent(Sim_event)}.     *     * @param name       the name to be associated with this entity (as     *                   required by Sim_entity class from simjava package)     * @param baud_rate  network communication or bandwidth speed     * @param resource   an object of ResourceCharacteristics     * @param calendar   an object of ResourceCalendar     * @throws Exception This happens when one of the following scenarios occur:     *      <ul>     *          <li> creating this entity before initializing GridSim package     *          <li> this entity name is <tt>null</tt> or empty     *          <li> this entity has <tt>zero</tt> number of PEs (Processing     *              Elements). <br>     *              No PEs mean the Gridlets can't be processed.     *              A GridResourceWithFailure must contain one or more Machines.     *              A Machine must contain one or more PEs.     *      </ul>     * @see gridsim.GridSim#init(int, Calendar, boolean, String[], String[],     *          String)     * @see gridsim.GridSim#init(int, Calendar, boolean)     * @see #GridResourceWithFailure(String, double,     *      ResourceCharacteristics, ResourceCalendar, AllocPolicyWithFailure)     * @pre name != null     * @pre baud_rate > 0     * @pre resource != null     * @pre calendar != null     * @post $none     */    public GridResourceWithFailure(String name, double baud_rate,                ResourceCharacteristics resource, ResourceCalendar calendar)                throws Exception    {        super(name, baud_rate);        resource_ = resource;        resCalendar_ = calendar;        policy_ = null;        init();    }    /**     * Allocates a new GridResourceWithFailure object. When making a different     * type of GridResourceWithFailure object, use this constructor and then     * overrides {@link #processOtherEvent(Sim_event)}.     *     * @param name       the name to be associated with this entity (as     *                   required by Sim_entity class from simjava package)     * @param baud_rate  network communication or bandwidth speed     * @param resource   an object of ResourceCharacteristics     * @param calendar   an object of ResourceCalendar     * @param policy     a scheduling policy for this Grid resource. If no     *                   scheduling policy is defined, the default one is     *                   <tt>SpaceShared</tt>     * @throws Exception This happens when one of the following scenarios occur:     *      <ul>     *          <li> creating this entity before initializing GridSim package     *          <li> this entity name is <tt>null</tt> or empty     *          <li> this entity has <tt>zero</tt> number of PEs (Processing     *              Elements). <br>     *              No PEs mean the Gridlets can't be processed.     *              A GridResourceWithFailure must contain one or more Machines.     *              A Machine must contain one or more PEs.     *      </ul>     * @see gridsim.GridSim#init(int, Calendar, boolean, String[], String[],     *          String)     * @see gridsim.GridSim#init(int, Calendar, boolean)     * @see gridsim.resFailure.AllocPolicyWithFailure     * @pre name != null     * @pre baud_rate > 0     * @pre resource != null     * @pre calendar != null     * @pre policy != null     * @post $none     */    public GridResourceWithFailure(String name, double baud_rate,                ResourceCharacteristics resource, ResourceCalendar calendar,                AllocPolicyWithFailure policy) throws Exception    {        super(name, baud_rate);        resource_ = resource;        resCalendar_ = calendar;        // the order between policy and init() is important        policy_ = (AllocPolicy) policy;        init();    }    ////////////////////////////////////////////    /**     * Allocates a new GridResourceWithFailure object. When making a different     * type of GridResourceWithFailure object, use     * {@link #GridResourceWithFailure(String, Link, ResourceCharacteristics,     *                      ResourceCalendar, AllocPolicyWithFailure)}     * and then overrides {@link #processOtherEvent(Sim_event)}.     *     * @param name       the name to be associated with this entity (as     *                   required by Sim_entity class from simjava package)     * @param link       the link that will be used to connect this     *                   GridResourceWithFailure to another Entity or Router.     * @param seed       the initial seed     * @param resource   an object of ResourceCharacteristics     * @param peakLoad   the load during peak times     * @param offPeakLoad   the load during off peak times     * @param relativeHolidayLoad   the load during holiday times     * @param weekends   a linked-list contains the weekend days     * @param holidays   a linked-list contains the public holidays     * @throws Exception This happens when one of the following scenarios occur:     *      <ul>     *          <li> creating this entity before initializing GridSim package     *          <li> this entity name is <tt>null</tt> or empty     *          <li> this entity has <tt>zero</tt> number of PEs (Processing     *              Elements). <br>     *              No PEs mean the Gridlets can't be processed.     *              A GridResourceWithFailure must contain one or more Machines.     *              A Machine must contain one or more PEs.     *      </ul>     * @see gridsim.GridSim#init(int, Calendar, boolean, String[], String[],     *          String)     * @pre name != null     * @pre link != null     * @pre resource != null     * @post $none     */    public GridResourceWithFailure(String name, Link link, long seed,                ResourceCharacteristics resource, double peakLoad,                double offPeakLoad, double relativeHolidayLoad,                LinkedList weekends, LinkedList holidays) throws Exception    {        super(name, link);        resource_ = resource;        resCalendar_ = new ResourceCalendar(resource_.getResourceTimeZone(),                peakLoad, offPeakLoad, relativeHolidayLoad, weekends,                holidays, seed);        policy_ = null;        init();    }    /**     * Allocates a new GridResourceWithFailure object. When making a different     * type of GridResourceWithFailure object, use     * {@link #GridResourceWithFailure(String, Link, ResourceCharacteristics,     *                      ResourceCalendar, AllocPolicyWithFailure)}     * and then overrides {@link #processOtherEvent(Sim_event)}.     *     * @param name       the name to be associated with this entity (as     *                   required by Sim_entity class from simjava package)     * @param link       the link that will be used to connect this     *                   GridResourceWithFailure to another Entity or Router.     * @param resource   an object of ResourceCharacteristics     * @param calendar   an object of ResourceCalendar     * @throws Exception This happens when one of the following scenarios occur:     *      <ul>     *          <li> creating this entity before initializing GridSim package     *          <li> this entity name is <tt>null</tt> or empty     *          <li> this entity has <tt>zero</tt> number of PEs (Processing     *              Elements). <br>     *              No PEs mean the Gridlets can't be processed.     *              A GridResourceWithFailure must contain one or more Machines.     *              A Machine must contain one or more PEs.     *      </ul>     * @see gridsim.GridSim#init(int, Calendar, boolean, String[], String[],     *          String)     * @pre name != null     * @pre link != null     * @pre resource != null     * @pre calendar != null     * @post $none     */    public GridResourceWithFailure(String name, Link link,                ResourceCharacteristics resource, ResourceCalendar calendar)                throws Exception    {        super(name, link);        resource_ = resource;        resCalendar_ = calendar;        policy_ = null;        init();    }    /**     * Allocates a new GridResourceWithFailure object. When making a different     * type of GridResourceWithFailure object, use this constructor and then     * overrides {@link #processOtherEvent(Sim_event)}.     *     * @param name       the name to be associated with this entity (as     *                   required by Sim_entity class from simjava package)     * @param link       the link that will be used to connect this     *                   GridResourceWithFailure to another Entity or Router.     * @param resource   an object of ResourceCharacteristics     * @param calendar   an object of ResourceCalendar     * @param policy     a scheduling policy for this Grid resource. If no     *                   scheduling policy is defined, the default one is     *                   <tt>SpaceShared</tt>     * @throws Exception This happens when one of the following scenarios occur:     *      <ul>     *          <li> creating this entity before initializing GridSim package     *          <li> this entity name is <tt>null</tt> or empty     *          <li> this entity has <tt>zero</tt> number of PEs (Processing     *              Elements). <br>     *              No PEs mean the Gridlets can't be processed.     *              A GridResourceWithFailure must contain one or more Machines.     *              A Machine must contain one or more PEs.     *      </ul>     * @see gridsim.GridSim#init(int, Calendar, boolean, String[], String[],     *          String)     * @see gridsim.resFailure.AllocPolicyWithFailure     * @pre name != null     * @pre link != null     * @pre resource != null     * @pre calendar != null     * @pre policy != null     * @post $none     */    public GridResourceWithFailure(String name, Link link,            ResourceCharacteristics resource, ResourceCalendar calendar,            AllocPolicyWithFailure policy) throws Exception    {        super(name,link);

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
精品国产电影一区二区| 2024国产精品| 国产一区二区三区av电影 | 日本不卡在线视频| 久久亚洲一区二区三区明星换脸| 99v久久综合狠狠综合久久| 日韩在线播放一区二区| 国产精品毛片久久久久久 | 久久久久久久久久久久电影| 一本久久综合亚洲鲁鲁五月天 | 久久精品在这里| 欧美区一区二区三区| av在线播放成人| 国产麻豆日韩欧美久久| 日产国产欧美视频一区精品| 亚洲欧美另类久久久精品2019| 久久亚洲春色中文字幕久久久| 欧美三级视频在线| 91老师片黄在线观看| 国产91综合网| 国产一区 二区 三区一级| 免费视频一区二区| 亚洲成av人影院| 亚洲欧美日韩久久| 亚洲欧洲国产日韩| 中文字幕av资源一区| 久久久99精品久久| 亚洲精品一线二线三线无人区| 欧美视频自拍偷拍| 欧洲中文字幕精品| 在线观看免费亚洲| 在线观看亚洲精品| 在线亚洲高清视频| 欧美怡红院视频| 91福利国产精品| 日本高清无吗v一区| 一本久久综合亚洲鲁鲁五月天| www.性欧美| 成人av在线影院| 99久久久久久| 99视频精品全部免费在线| 国产91精品一区二区麻豆网站| 国产精品一卡二| 国产成人自拍在线| 国产91精品入口| www.66久久| www.激情成人| 欧美中文字幕亚洲一区二区va在线 | 色综合久久久久综合体桃花网| 成人免费视频播放| 9久草视频在线视频精品| 99re这里都是精品| 色偷偷88欧美精品久久久| 色狠狠一区二区| 欧美精品在线视频| 日韩欧美另类在线| 国产欧美日韩精品一区| 国产精品女主播在线观看| 亚洲人成精品久久久久| 亚洲一区二区三区在线| 日本伊人午夜精品| 国产美女在线精品| av不卡免费在线观看| 欧美三级资源在线| 精品久久久久久无| 一区免费观看视频| 亚洲国产另类av| 经典三级视频一区| 成人永久看片免费视频天堂| 在线亚洲欧美专区二区| 欧美一级高清片| 欧美国产精品一区二区| 樱花草国产18久久久久| 日韩av电影一区| 成人免费的视频| 欧美日韩黄色影视| 久久婷婷成人综合色| 亚洲欧美日韩精品久久久久| 日韩av电影一区| 白白色 亚洲乱淫| 欧美福利一区二区| 国产日韩一级二级三级| 洋洋av久久久久久久一区| 精品一区二区三区久久| 色狠狠综合天天综合综合| 日韩精品中午字幕| 亚洲女子a中天字幕| 久久99久久99| 91成人免费电影| 久久综合中文字幕| 亚洲第一成年网| 国产不卡视频在线观看| 欧美日韩中文另类| 国产精品乱码人人做人人爱| 日韩精品亚洲一区| 91日韩精品一区| 久久久久亚洲综合| 日韩中文字幕av电影| 93久久精品日日躁夜夜躁欧美| 91精品国产综合久久福利软件| 亚洲欧洲日本在线| 国产老妇另类xxxxx| 欧美人与z0zoxxxx视频| 亚洲欧洲综合另类| 国产麻豆日韩欧美久久| 91麻豆精品国产自产在线| 亚洲乱码一区二区三区在线观看| 激情深爱一区二区| 欧美精品xxxxbbbb| 亚洲美女在线国产| av在线这里只有精品| 欧美精品一区二区三区蜜臀| 日韩精品一卡二卡三卡四卡无卡| 不卡的av电影| 国产欧美一区二区精品性| 日本不卡一二三区黄网| 欧美影视一区在线| 亚洲精品乱码久久久久久日本蜜臀| 国产精品白丝jk白祙喷水网站| 日韩欧美综合一区| 日韩福利电影在线观看| 欧美三级日韩三级| 亚洲最大的成人av| 色呦呦国产精品| 中文字幕高清一区| 成人免费看黄yyy456| 欧美精彩视频一区二区三区| 久久超碰97人人做人人爱| 欧美二区在线观看| 亚洲va在线va天堂| 欧美在线短视频| 亚洲午夜一区二区三区| 欧美日韩在线不卡| 午夜电影一区二区| 欧美精品久久一区二区三区 | 久久er99热精品一区二区| 欧美日韩综合在线免费观看| 亚洲一区二区欧美激情| 在线观看视频一区二区| 亚洲综合在线视频| 在线观看欧美黄色| 亚洲综合一二三区| 欧美视频中文一区二区三区在线观看| 一区二区三区在线免费| 色94色欧美sute亚洲线路一久 | 亚洲第一成年网| 欧美挠脚心视频网站| 丝袜美腿亚洲一区二区图片| 91.xcao| 久久精品国产成人一区二区三区 | 中文字幕中文字幕在线一区 | 欧美浪妇xxxx高跟鞋交| 午夜精品久久久久久久久| 欧美精品自拍偷拍| 蜜桃av一区二区在线观看| 精品卡一卡二卡三卡四在线| 国产真实乱偷精品视频免| 26uuu国产在线精品一区二区| 国产精品18久久久久| 国产精品国产精品国产专区不片 | 欧美亚洲一区二区在线观看| 亚洲第一主播视频| 日韩精品一区二区三区在线观看 | 中文字幕一区二区三区蜜月| 99久久精品久久久久久清纯| 一区二区三区欧美在线观看| 欧美精品在线观看一区二区| 国产一区在线不卡| 亚洲视频免费在线| 777a∨成人精品桃花网| 国产在线国偷精品产拍免费yy| 亚洲丝袜精品丝袜在线| 欧美性视频一区二区三区| 久久国产视频网| 亚洲婷婷在线视频| 91超碰这里只有精品国产| 国产一区二区在线免费观看| 国产精品第四页| 91精品国产色综合久久不卡电影 | 国产精品一级片| 亚洲自拍偷拍欧美| 精品久久人人做人人爱| 色综合天天做天天爱| 日韩 欧美一区二区三区| 国产精品视频一二| 91精品国产综合久久婷婷香蕉 | 日韩一级欧美一级| 国产成人高清视频| 丝袜国产日韩另类美女| 国产偷v国产偷v亚洲高清| 欧美日韩国产首页在线观看| 国产成a人亚洲精品| 亚洲成人福利片| 国产精品无遮挡| 欧美videossexotv100| 色婷婷综合久久久中文字幕| 国产伦精品一区二区三区视频青涩| 亚洲精品免费在线| 久久免费国产精品 | 中国色在线观看另类|