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

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

?? gridsim.java

?? 一個非常著名的網格模擬器,能夠運行網格調度算法!
?? JAVA
?? 第 1 頁 / 共 5 頁
字號:
            System.out.println( e.getMessage() );        }        catch (Exception e)        {            gl = null;            System.out.println(errorMsg + "Error occurs.");            System.out.println( e.getMessage() );        }        return gl;    }    /**     * Pauses a Gridlet that is currently executing in a given GridResource     * ID <tt>with</tt> a delay.     * @param gl            a Gridlet object to be sent     * @param resId         an unique resource ID     * @param delay         delay time or <tt>0.0</tt> if want to execute NOW     * @return <tt>true</tt> if this Gridlet has been paused successfully in the     *         destination GridResource, <tt>false</tt> otherwise.     *         Pausing a Gridlet can be failed for the one or more     *         following reasons:     *         <ul>     *              <li> if a GridResource ID doesn't exist     *              <li> if a Gridlet ID doesn't exist     *              <li> if a Gridlet's user ID doesn't exist     *              <li> if the delay time is negative     *              <li> if a Gridlet object is <tt>null</tt> or empty;     *              <li> if a Gridlet object has <tt>finished</tt> executing     *                   beforehand. The Gridlet needs to be retrieved by     *                   using {@link #gridletReceive()}     *         </ul>     * @pre gl != null     * @pre resId >= 0     * @pre delay >= 0.0     * @post $none     */    protected boolean gridletPause(Gridlet gl, int resId, double delay)    {        if (gl == null || delay < 0.0) {            return false;        }        return gridletPause(gl.getGridletID(),gl.getUserID(),resId,delay,true);    }    /**     * Pauses a Gridlet that is currently executing in a given GridResource     * ID <tt>with</tt> a delay.     * @param gridletId     a Gridlet ID     * @param userId        the user or owner ID of this Gridlet     * @param resourceId    an unique resource ID     * @param delay         delay time or <tt>0.0</tt> if want to execute NOW     * @param ack   an acknowledgement, i.e. <tt>true</tt> if wanted to know     *        whether this operation is success or not, <tt>false</tt>     *        otherwise (don't care)     * @return <tt>true</tt> if this Gridlet has been paused successfully in the     *         destination GridResource, <tt>false</tt> otherwise.     *         Pausing a Gridlet can be failed for the one or more     *         following reasons:     *         <ul>     *              <li> if a GridResource ID doesn't exist     *              <li> if a Gridlet ID doesn't exist     *              <li> if a Gridlet's user ID doesn't exist     *              <li> if the delay time is negative     *              <li> if a Gridlet object has <tt>finished</tt> executing     *                   beforehand. The Gridlet needs to be retrieved by using     *                   {@link #gridletReceive()}     *         </ul>     * @pre gridletId >= 0     * @pre userId >= 0     * @pre resourceId >= 0     * @pre delay >= 0.0     * @post $none     */    protected boolean gridletPause(int gridletId, int userId, int resourceId,                                   double delay, boolean ack)    {        boolean valid = false;        String errorMsg = super.get_name() + ".gridletPause(): ";        try        {            valid = sendGridlet(errorMsg, gridletId, userId, resourceId, delay,                                GridSimTags.GRIDLET_PAUSE, ack);            if (valid == true && ack == true)            {                valid = getBooleanResult(gridletId,                                         GridSimTags.GRIDLET_PAUSE_ACK);            }        }        catch (Sim_exception e)        {            valid = false;            System.out.println(errorMsg + "Error occurs.");            System.out.println( e.getMessage() );        }        catch (Exception e)        {            valid = false;            System.out.println(errorMsg + "Error occurs.");            System.out.println( e.getMessage() );        }        return valid;    }    /**     * Gets the current status of this Gridlet in a given GridResource ID     * @param gl    a Gridlet object     * @param resourceId   a GridResource ID that executes this Gridlet object     * @return the current Gridlet status or <tt>-1</tt> if not found.     *         The various Gridlet status can be found in Gridlet class.     * @see gridsim.Gridlet     * @pre gl != null     * @pre resourceId > 0     * @post $none     */    protected int gridletStatus(Gridlet gl, int resourceId)    {        if (gl == null) {            return NOT_FOUND;        }        return gridletStatus(gl.getGridletID(), gl.getUserID(), resourceId);    }    /**     * Gets the current status of this Gridlet in a given GridResource ID     * @param gridletId    a Gridlet ID     * @param userId       the user or owner of this Gridlet object     * @param resourceId   a GridResource ID that executes this Gridlet object     * @return the current Gridlet status or <tt>-1</tt> if not found.     *         The various Gridlet status can be found in Gridlet class.     * @see gridsim.Gridlet     * @pre gridletId > 0     * @pre userId > 0     * @pre resourceId > 0     * @post $none     */    protected int gridletStatus(int gridletId, int userId, int resourceId)    {        int status = NOT_FOUND;        String errorMsg = super.get_name() + "gridletStatus(): ";        try        {            boolean valid = sendGridlet(errorMsg, gridletId, userId, resourceId,                                        0.0, GridSimTags.GRIDLET_STATUS, false);            if (valid == false) {                return status;            }            // waiting for a response from the GridResource            status = getIntResult(gridletId, GridSimTags.GRIDLET_STATUS);        }        catch (Sim_exception e)        {            status = NOT_FOUND;            System.out.println(errorMsg + "Error occurs.");            System.out.println( e.getMessage() );        }        catch (Exception e)        {            status = NOT_FOUND;            System.out.println(errorMsg + "Error occurs.");            System.out.println( e.getMessage() );        }        return status;    }    /**     * Resumes a Gridlet that is currently pausing in a given GridResource     * ID <tt>with</tt> a delay.<br>     * <b>NOTE:</b> Resuming a Gridlet only works if it is currently on paused.     * @param gl            a Gridlet object to be sent     * @param resId         an unique resource ID     * @param delay         delay time or <tt>0.0</tt> if want to execute NOW     * @return <tt>true</tt> if this Gridlet has been resumed successfully in     *         the destination GridResource, <tt>false</tt> otherwise.     *         Resuming a Gridlet can be failed for the one or more     *         following reasons:     *         <ul>     *              <li> if a GridResource ID doesn't exist     *              <li> if a Gridlet ID doesn't exist     *              <li> if a Gridlet's user ID doesn't exist     *              <li> if the delay time is negative     *              <li> if a Gridlet object is <tt>null</tt> or empty     *              <li> if a Gridlet is not currently on paused     *         </ul>     * @pre gl != null     * @pre resId >= 0     * @pre delay >= 0.0     * @post $none     */    protected boolean gridletResume(Gridlet gl, int resId, double delay)    {        if (gl == null || delay < 0.0) {            return false;        }        return gridletResume(gl.getGridletID(),gl.getUserID(),resId,delay,true);    }    /**     * Resumes a Gridlet that is currently pausing in a given GridResource     * ID <tt>with</tt> a delay. <br>     * <b>NOTE:</b> Resuming a Gridlet only works if it is currently on paused.     * @param gridletId     a Gridlet ID     * @param userId        the user or owner ID of this Gridlet     * @param resourceId    an unique resource ID     * @param delay         delay time or <tt>0.0</tt> if want to execute NOW     * @param ack   an acknowledgement, i.e. <tt>true</tt> if wanted to know     *        whether this operation is success or not, <tt>false</tt>     *        otherwise (don't care)     * @return <tt>true</tt> if this Gridlet has been resumed successfully in     *         the destination GridResource, <tt>false</tt> otherwise.     *         Resuming a Gridlet can be failed for the one or more     *         following reasons:     *         <ul>     *              <li> if a GridResource ID doesn't exist     *              <li> if a Gridlet ID doesn't exist     *              <li> if a Gridlet's user ID doesn't exist     *              <li> if the delay time is negative     *              <li> if a Gridlet is not currently on paused     *         </ul>     * @pre gridletId >= 0     * @pre userId >= 0     * @pre resourceId >= 0     * @pre delay >= 0.0     * @post $none     */    protected boolean gridletResume(int gridletId, int userId, int resourceId,                                    double delay, boolean ack)    {        boolean valid = false;        String errorMsg = super.get_name() + ".gridletResume(): ";        try        {            valid = sendGridlet(errorMsg, gridletId, userId, resourceId, delay,                                GridSimTags.GRIDLET_RESUME, ack);            if (valid == true && ack == true)            {                // waiting for a response from the GridResource                valid = getBooleanResult(gridletId,                                         GridSimTags.GRIDLET_RESUME_ACK);            }        }        catch (Sim_exception e)        {            valid = false;            System.out.println(errorMsg + "Error occurs.");            System.out.println( e.getMessage() );        }        catch (Exception e)        {            valid = false;            System.out.println(errorMsg + "Error occurs.");            System.out.println( e.getMessage() );        }        return valid;    }    /**     * Moves a Gridlet to the destination GridResource ID     * @param gl   a Gridlet object     * @param srcId   the GridResource ID that is currently executing this Gridlet     * @param destId  the new GridResource ID     * @param delay   simulation delay     * @return <tt>true</tt> if this Gridlet has moved successfully,     *         <tt>false</tt> otherwise. Moving a Gridlet can be failed, due     *         to one or more following reasons:     *      <ul>     *         <li> if a Gridlet object is null     *         <li> if one or both GridResource ID don't exist     *         <li> if the delay is negative     *         <li> if a Gridlet in the GridResource has completed beforehand.     *              The Gridlet can be retrieved by using     *              {@link #gridletReceive()}     *      </ul>     * @pre gl != null     * @pre srcId > 0     * @pre destId > 0     * @pre delay >= 0.0     * @post $result = true || false     */    protected boolean gridletMove(Gridlet gl,int srcId,int destId,double delay)    {        if (gl == null || delay < 0.0) {            return false;        }        boolean success = gridletMove(gl.getGridletID(), gl.getUserID(),                                      srcId, destId, delay, true);        return success;    }    /**     * Moves a Gridlet to the destination GridResource ID     * @param gridletId   a Gridlet ID     * @param userId      the owner or user ID of this Gridlet     * @param srcId   the GridResource ID that is currently executing this     *                Gridlet     * @param destId  the new GridResource ID     * @param delay   simulation delay     * @param ack   an acknowledgement, i.e. <tt>true</tt> if wanted to know     *        whether this operation is success or not, <tt>false</tt>     *        otherwise (don't care)     * @return <tt>true</tt> if this Gridlet has moved successfully,     *         <tt>false</tt> otherwise. Moving a Gridlet can be failed, due     *         to one or more following reasons:     *      <ul>     *         <li> if a Gridlet ID doesn't exist     *         <li> if the owner of user ID of this Gridlet doesn't exist     *         <li> if one or both GridResource ID don't exist     *         <li> if the delay is negative     *         <li> if a Gridlet in the GridResource has completed beforehand.     *              The Gridlet can be retrieved by using     *              {@link #gridletReceive()}     *      </ul>     * @pre gridletId > 0     * @pre userId > 0     * @pre srcId > 0     * @pre destId > 0     * @pre delay >= 0.0     * @post $result = true || false     */    protected boolean gridletMove(int gridletId, int userId, int srcId,                                  int destId, double delay, boolean ack)    {        String errorMsg = super.get_name() + ".gridletMove(): ";        // check whether the source Id is the same as destination Id        if (srcId == destId)        {            System.out.println(errorMsg + "Error - Can't move a 

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
91福利国产成人精品照片| 石原莉奈一区二区三区在线观看| 99re成人在线| 色综合天天视频在线观看| 一本色道久久综合狠狠躁的推荐| 91亚洲资源网| 91.麻豆视频| 国产视频不卡一区| 亚洲日本一区二区| 奇米影视一区二区三区| 国产一区二区福利| 91网页版在线| xvideos.蜜桃一区二区| 亚洲视频一二三区| 日本aⅴ精品一区二区三区| 91亚洲精华国产精华精华液| 日本精品一区二区三区四区的功能| 成人黄色电影在线| 欧美日韩中文字幕一区| 久久老女人爱爱| 亚洲三级理论片| 激情综合色丁香一区二区| 99久久免费国产| 国产亚洲精品资源在线26u| 一区二区三区免费网站| 国产成人亚洲综合a∨猫咪| 欧美日韩精品欧美日韩精品| 中文字幕制服丝袜一区二区三区 | 国产剧情一区在线| 欧美精品久久99久久在免费线| 中文字幕不卡在线观看| 污片在线观看一区二区| 99久久国产综合精品女不卡| 精品国产一二三| 日日摸夜夜添夜夜添国产精品| 成人精品免费看| 精品处破学生在线二十三| 午夜天堂影视香蕉久久| 欧美影院午夜播放| 亚洲一区二区三区在线| 欧美最猛黑人xxxxx猛交| 一区二区三区四区不卡在线 | 亚洲一级二级三级在线免费观看| 高清国产一区二区三区| 国产欧美日韩不卡| 成人黄色小视频在线观看| 国产精品入口麻豆原神| 成人一区二区视频| 日韩电影在线一区二区三区| 欧美性xxxxx极品少妇| 日韩精品1区2区3区| 日韩一区二区三区四区五区六区| 蜜臀精品久久久久久蜜臀| 日韩欧美国产一区二区三区| 老司机免费视频一区二区| 欧美一级在线免费| 国产高清精品网站| 亚洲欧洲99久久| 欧美日韩一区成人| 国内久久婷婷综合| 亚洲人成网站在线| 欧美不卡视频一区| 大桥未久av一区二区三区中文| 日韩一区中文字幕| 宅男噜噜噜66一区二区66| 国产伦精品一区二区三区视频青涩 | 亚洲欧美日韩中文字幕一区二区三区| 白白色亚洲国产精品| 亚洲成人精品一区二区| 26uuu亚洲综合色欧美| 色综合天天综合| 精品综合免费视频观看| 亚洲九九爱视频| 精品嫩草影院久久| 日本福利一区二区| 97久久人人超碰| 亚洲丝袜美腿综合| 欧美视频一区二区| 丝袜美腿一区二区三区| 亚洲国产精品ⅴa在线观看| 欧美在线免费播放| 成人免费视频网站在线观看| 亚洲不卡一区二区三区| 亚洲欧美日韩久久精品| 久久你懂得1024| 欧美一级日韩免费不卡| 69成人精品免费视频| 一本色道**综合亚洲精品蜜桃冫 | 欧美久久久久免费| 91网页版在线| 99国产欧美久久久精品| 国产福利不卡视频| 国产美女精品在线| 日本午夜一本久久久综合| 夜夜爽夜夜爽精品视频| 亚洲欧美日韩一区二区| 亚洲欧美日韩在线| 综合久久一区二区三区| 国产精品美女久久久久久久久久久| 欧美一级视频精品观看| 日韩你懂的在线播放| 日韩免费成人网| 精品国产乱码久久| 精品理论电影在线| 久久久不卡网国产精品一区| 精品久久久久久久一区二区蜜臀| 欧美一区二区网站| 精品国产麻豆免费人成网站| 精品精品国产高清一毛片一天堂| 日韩欧美在线一区二区三区| 精品国产青草久久久久福利| 久久天堂av综合合色蜜桃网| 国产婷婷色一区二区三区在线| 久久精品欧美一区二区三区不卡| 中文字幕乱码久久午夜不卡| 中文字幕制服丝袜成人av| 亚洲另类在线视频| 日本不卡高清视频| 国产成人精品一区二区三区网站观看| av男人天堂一区| 欧美日韩www| 中文字幕成人av| 蜜桃91丨九色丨蝌蚪91桃色| 丁香婷婷综合色啪| 欧美巨大另类极品videosbest | 在线观看国产91| 精品国产乱码久久久久久图片| 中文字幕在线一区二区三区| 亚洲成av人片在线| 国产aⅴ综合色| 精品久久免费看| 亚洲欧洲精品一区二区精品久久久 | 日韩精品每日更新| 国产亚洲成aⅴ人片在线观看| 日韩久久免费av| 亚洲自拍偷拍综合| 国产成人精品影视| 欧美r级在线观看| 一区二区三区蜜桃| av一本久道久久综合久久鬼色| 制服丝袜日韩国产| 亚洲精品成人悠悠色影视| 国产精品香蕉一区二区三区| 欧美精品黑人性xxxx| 国产亚洲午夜高清国产拍精品| 亚洲成人激情综合网| 色激情天天射综合网| 欧美激情自拍偷拍| 国产一区欧美日韩| 久久亚洲综合色| 国产一区福利在线| 精品美女一区二区三区| 免费黄网站欧美| 欧美一级欧美一级在线播放| 亚洲丰满少妇videoshd| 色综合天天狠狠| 亚洲国产精品久久人人爱 | 在线亚洲一区二区| 一区二区三区在线播| 欧美乱熟臀69xxxxxx| 奇米影视一区二区三区| 欧美大片在线观看一区| 韩国女主播成人在线观看| 26uuu精品一区二区| 成人高清视频在线| 亚洲欧美日韩国产成人精品影院| 一本色道亚洲精品aⅴ| 一区二区理论电影在线观看| 精品成人一区二区三区| 国产一区二区三区日韩 | 国产精品一区二区久激情瑜伽| 国产日韩精品一区二区浪潮av| 99re8在线精品视频免费播放| 偷拍一区二区三区| 久久亚洲一级片| 精品视频999| www.日韩在线| 裸体歌舞表演一区二区| 亚洲综合av网| 精品日韩99亚洲| 日韩精品三区四区| 欧美成人在线直播| 99在线精品一区二区三区| 亚洲一区二区3| 久久精品一级爱片| 欧美日韩国产在线播放网站| 国产高清不卡一区二区| 亚洲一区中文在线| 久久婷婷国产综合国色天香| 在线中文字幕一区二区| 成人性视频免费网站| 亚洲图片一区二区| 最新日韩在线视频| 久久日一线二线三线suv| 欧美视频一区二区在线观看| 成人免费视频一区二区| 国产专区综合网| 免费人成精品欧美精品| 日韩激情中文字幕| 亚洲一二三四区|