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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? gridsim.java

?? 一個非常著名的網(wǎng)格模擬器,能夠運行網(wǎng)格調(diào)度算法!
?? JAVA
?? 第 1 頁 / 共 5 頁
字號:
     *                <tt>null</tt> or empty     * @see gridsim.GridSim#init(int, Calendar, boolean, String[], String[],     *          String)     * @see eduni.simjava.Sim_system#run_stop()     * @pre $none     * @post $none     */    public static void stopGridSimulation() throws NullPointerException    {        try {            Sim_system.run_stop();        }        catch (Sim_exception e)        {            throw new NullPointerException("GridSim.stopGridSimulation() : " +                    "Error - can't stop Grid Simulation.");        }    }    /**     * Gets an object belong to the first event <b>CURRENTLY</b> waiting in this     * entity's deferred queue (incoming buffer).     * If there are no events, then wait indefinitely for an event to arrive.     * @return An event's object     * @deprecated As of GridSim 2.1, replaced by {@link #receiveEventObject()}     * @pre $none     * @post $none     */    protected Object ReceiveEventObject() {        return receiveEventObject();    }    /**     * Gets an object belong to the first event <b>CURRENTLY</b> waiting in this     * entity's deferred queue (incoming buffer).     * If there are no events, then wait indefinitely for an event to arrive.     * @return An event's object     * @pre $none     * @post $none     */    protected Object receiveEventObject()    {        Sim_event ev = new Sim_event();        super.sim_get_next(ev);        return ev.get_data();    }    /**     * Gets an object belong to the first event <b>CURRENTLY</b> waiting in     * the given port.     * If there are no events, then wait indefinitely for an event to arrive.     * @param sourcePort a Sim_port object which is used to connect entities     *                   for event passing     * @return An event's data or <tt>null</tt> if the source port is     *         empty.     * @deprecated As of GridSim 2.1, replaced by     *             {@link #receiveEventObject(Sim_port)}     * @see eduni.simjava.Sim_port     * @pre sourcePort != null     * @post $none     */    protected Object ReceiveEventObject(Sim_port sourcePort) {        return receiveEventObject(sourcePort);    }    /**     * Gets an object belong to the first event <b>CURRENTLY</b> waiting in     * the given port.     * If there are no events, then wait indefinitely for an event to arrive.     * @param sourcePort a Sim_port object which is used to connect entities     *                   for event passing     * @return An event's data or <tt>null</tt> if the source port is     *         empty.     * @see eduni.simjava.Sim_port     * @pre sourcePort != null     * @post $none     */    protected Object receiveEventObject(Sim_port sourcePort)    {        if (sourcePort == null) {            return null;        }        Sim_event ev = new Sim_event();        super.sim_get_next( new Sim_from_port(sourcePort), ev );        return ev.get_data();    }    /**     * Sends a Gridlet to the destination GridResource ID <tt>without</tt>     * any delay. An acknowledgement to denote the successful of this method     * is by default <tt>off or false</tt>.     *     * @param gl       a Gridlet object to be sent     * @param resID    an unique resource ID     * @return <tt>true</tt> if this Gridlet has been submitted to the     *         destination GridResource, <tt>false</tt> otherwise.     *         Submitting a Gridlet can be failed for the one or more     *         following reasons:     *         <ul>     *              <li> if the acknowledgment status in the parameter of this     *                   method is set to <tt>false</tt>     *              <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 a Gridlet object is <tt>null</tt> or empty;     *              <li> if a Gridlet object has <tt>finished</tt> executing     *                   beforehand     *         </ul>     *     * @deprecated As of GridSim 2.1, replaced by {@link #gridletSubmit(Gridlet,     *             int)}     * @pre gl != null     * @pre resID >= 0     * @post $none     */    protected boolean GridletSubmit(Gridlet gl, int resID) {        return gridletSubmit(gl, resID);    }    /**     * Sends a Gridlet to the destination GridResource ID <tt>without</tt>     * any delay. An acknowledgement to denote the successful of this method     * is by default <tt>off or false</tt>.     *     * @param gl       a Gridlet object to be sent     * @param resID    an unique resource ID     * @return <tt>true</tt> if this Gridlet has been submitted to the     *         destination GridResource, <tt>false</tt> otherwise.     *         Submitting a Gridlet can be failed for the one or more     *         following reasons:     *         <ul>     *              <li> if the acknowledgment status in the parameter of this     *                   method is set to <tt>false</tt>     *              <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 a Gridlet object is <tt>null</tt> or empty;     *              <li> if a Gridlet object has <tt>finished</tt> executing     *                   beforehand     *         </ul>     * @pre gl != null     * @pre resID >= 0     * @post $none     */    protected boolean gridletSubmit(Gridlet gl, int resID) {        return gridletSubmit(gl, resID, GridSimTags.SCHEDULE_NOW, false);    }    /**     * Sends a Gridlet to the destination GridResource ID <tt>with</tt>     * a specified delay.     *     * @param gl            a Gridlet object to be sent     * @param resourceID    an unique resource ID     * @param delay         delay time or <tt>0.0</tt> if want to execute NOW     * @param ack           an acknowledgment status. <tt>true</tt> if want to     *                      know the result of this method, <tt>false</tt>     *                      otherwise or don't care.     * @return <tt>true</tt> if this Gridlet has been submitted to the     *         destination GridResource, <tt>false</tt> otherwise.     *         Submitting a Gridlet can be failed for the one or more     *         following reasons:     *         <ul>     *              <li> if the acknowledgment status in the parameter of this     *                   method is set to <tt>false</tt>     *              <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     *         </ul>     * @see gridsim.Gridlet#isFinished()     * @see gridsim.GridSim#gridletReceive()     * @pre gl != null     * @pre resourceID >= 0     * @pre delay >= 0.0     * @post $none     */    protected boolean gridletSubmit(Gridlet gl, int resourceID,                                    double delay, boolean ack)    {        // with default net service level, i.e. 0        return gridletSubmit(gl, resourceID, delay, ack, 0);    }    /**     * Sends a Gridlet to the destination GridResource ID <tt>with</tt>     * a specified delay.     *     * @param gl            a Gridlet object to be sent     * @param resourceID    an unique resource ID     * @param delay         delay time or <tt>0.0</tt> if want to execute NOW     * @param ack           an acknowledgment status. <tt>true</tt> if want to     *                      know the result of this method, <tt>false</tt>     *                      otherwise or don't care.     * @param netServiceLevel this can be set so that network entities can     * provide differentiated services if they are supported.     * @return <tt>true</tt> if this Gridlet has been submitted to the     *         destination GridResource, <tt>false</tt> otherwise.     *         Submitting a Gridlet can be failed for the one or more     *         following reasons:     *         <ul>     *              <li> if the acknowledgment status in the parameter of this     *                   method is set to <tt>false</tt>     *              <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     *         </ul>     * @see gridsim.Gridlet#isFinished()     * @see gridsim.GridSim#gridletReceive()     * @pre gl != null     * @pre resourceID >= 0     * @pre delay >= 0.0     * @post $none     */    protected boolean gridletSubmit(Gridlet gl, int resourceID,                                    double delay, boolean ack,                                    int netServiceLevel)    {        // checks whether a Gridlet is empty or delay is -ve        if (gl == null || delay < 0.0 || netServiceLevel < 0) {            return false;        }        // checks whether a Gridlet has finished executing before        String errorMsg = super.get_name() + ".gridletSubmit(): ";        if (gl.isFinished() == true)        {            System.out.println(errorMsg + "Error - Gridlet #" +                               gl.getGridletID() + " for User #" +                               gl.getUserID() + " is already finished.");            return false;        }        boolean valid = false;        try        {            valid = validateValue(errorMsg, gl.getGridletID(),                                  gl.getUserID(), resourceID);            // if any of the above value invalid, then return            if (valid == false) {                return false;            }            // sends the gridlet to a destination GridResource id with ACK            if (ack == true)            {                send(super.output, delay, GridSimTags.GRIDLET_SUBMIT_ACK,                     new IO_data(gl, gl.getGridletFileSize(), resourceID,                     netServiceLevel)                );                valid = getBooleanResult(gl.getGridletID(),                                         GridSimTags.GRIDLET_SUBMIT_ACK);            }            else   // sends without ACK            {                valid = false;                send(super.output, delay, GridSimTags.GRIDLET_SUBMIT,                     new IO_data(gl, gl.getGridletFileSize(), resourceID,                     netServiceLevel)                );            }        }        catch (Sim_exception sim)        {            valid = false;            System.out.println(errorMsg + "Error from SimJava occurs.");            System.out.println( sim.getMessage() );        }        catch (Exception e)        {            valid = false;            System.out.println(errorMsg + "Error occurs.");            System.out.println( e.getMessage() );        }        return valid;    }    /**     * Gets the result from an incoming event buffer that matches     * the given Gridlet ID and tag name     * @param gridletID     a gridlet ID     * @param matchingTag   a matching tag name     * @return result of the selected event that matches the criteria     * @pre $none     * @post $none     */    private boolean getBooleanResult(int gridletID, int matchingTag)    {        // waiting for a response back from the GridResource        FilterResult tag = new FilterResult(gridletID, matchingTag);        // only look for ack for same Gridlet ID        Sim_event ev = new Sim_event();        super.sim_get_next(tag, ev);        boolean result = false;        try        {            int[] array = (int[]) ev.get_data();            if (array[RESULT] == GridSimTags.TRUE) {                result = true;            }        }        catch (Exception e) {            result = false;        }        return result;    }    /**     * Gets the result from an incoming event buffer that matches     * the given Gridlet ID and tag name     * @param gridletID     a gridlet ID     * @param matchingTag   a matching tag name     * @return result of the selected event that matches the criteria     * @pre $none     * @post $none     */    private int getIntResult(int gridletID, int matchingTag)    {        // waiting for a response back from the GridResource        FilterResult tag = new FilterResult(gridletID, matchingTag);        // only look for ack for same Gridlet ID        Sim_event ev = new Sim_event();        super.sim_get_next(tag, ev);        int result = -1;        try        {

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
fc2成人免费人成在线观看播放 | 国产亚洲一本大道中文在线| 日本一区二区三区国色天香| 亚洲一二三四区不卡| 国产一区二区三区| 日韩午夜电影在线观看| 亚洲一区在线观看视频| 成人一区二区三区| 亚洲精品一区在线观看| 天天综合网天天综合色| proumb性欧美在线观看| 久久久天堂av| 久久99国内精品| 欧美一区二区精品久久911| 亚洲精品免费看| 91久久国产最好的精华液| 欧美一级高清大全免费观看| 夜夜精品视频一区二区| www.亚洲激情.com| 日本一区二区成人| 国产精品亚洲成人| 精品久久人人做人人爽| 蜜桃av一区二区三区电影| 欧美日韩在线精品一区二区三区激情| 亚洲免费资源在线播放| 国产精品一区二区果冻传媒| 精品久久国产97色综合| 精品一区二区三区视频在线观看 | 91黄色激情网站| 中文字幕中文乱码欧美一区二区| 极品少妇xxxx精品少妇偷拍| 日韩一二三四区| 日本麻豆一区二区三区视频| 欧美体内she精高潮| 亚洲国产一区二区三区| 欧美亚洲国产一区二区三区va | 亚洲天堂网中文字| 波多野结衣视频一区| 中文字幕一区二区视频| av色综合久久天堂av综合| 最新国产精品久久精品| av毛片久久久久**hd| 日韩理论片在线| 欧美午夜精品一区二区蜜桃| 亚洲国产另类av| 在线播放中文一区| 另类小说视频一区二区| 久久精品免费在线观看| a在线欧美一区| 一片黄亚洲嫩模| 56国语精品自产拍在线观看| 国内精品自线一区二区三区视频| 久久日韩粉嫩一区二区三区| 粉嫩一区二区三区性色av| 亚洲欧美在线高清| 欧美日韩一区二区三区在线看| 午夜精品成人在线视频| 精品国产乱码久久久久久影片| 成人一道本在线| 亚洲丰满少妇videoshd| 精品国产欧美一区二区| 成a人片国产精品| 亚洲成人av资源| 久久亚洲精品国产精品紫薇| 91视频www| 免费xxxx性欧美18vr| 欧美韩国一区二区| 欧美伊人久久久久久午夜久久久久| 青青草原综合久久大伊人精品优势 | 欧美午夜影院一区| 国产在线精品免费| 亚洲欧美国产77777| 日韩亚洲欧美一区| 99re热视频这里只精品| 免费观看成人鲁鲁鲁鲁鲁视频| 欧美精彩视频一区二区三区| 欧美性受极品xxxx喷水| 国产高清久久久| 午夜精品久久久| 中文字幕亚洲电影| 欧美成人性福生活免费看| 在线免费av一区| 国产成人午夜高潮毛片| 日本午夜精品视频在线观看| 国产精品久久久久精k8 | 亚洲人精品一区| 精品国产伦一区二区三区观看方式| 99久精品国产| 国产精品一二三区| 日韩精品三区四区| 亚洲人成人一区二区在线观看| 欧美tk—视频vk| 欧美巨大另类极品videosbest| 99久久99精品久久久久久 | 欧美在线高清视频| 成人国产精品免费| 韩国女主播一区二区三区| 亚洲成人动漫在线观看| 一区二区在线观看视频| 中文字幕日韩一区| 亚洲国产成人私人影院tom| 精品福利av导航| 51精品国自产在线| 欧美色倩网站大全免费| 在线精品视频免费播放| 日本丶国产丶欧美色综合| 91在线免费视频观看| 成人高清视频免费观看| 成人综合日日夜夜| 成人一区二区三区视频| 成人免费毛片a| 波多野结衣一区二区三区| 成人国产精品免费观看视频| 成人免费观看视频| 99国产欧美久久久精品| 99久久精品国产观看| 99热国产精品| 色综合久久久久| 欧美在线观看视频在线| 欧美视频一区二区三区在线观看| 欧亚一区二区三区| 欧美日韩另类国产亚洲欧美一级| 在线一区二区三区四区| 欧美伦理视频网站| 91精品中文字幕一区二区三区| 欧美日韩午夜精品| 日韩一区二区精品在线观看| 精品奇米国产一区二区三区| 欧美精品一区二区蜜臀亚洲| 久久久国产午夜精品 | 久久av老司机精品网站导航| 麻豆91免费看| 国产精品香蕉一区二区三区| 成人夜色视频网站在线观看| 一本到三区不卡视频| 欧美日韩成人综合| 精品国产第一区二区三区观看体验| 久久欧美一区二区| 亚洲欧美综合网| 天天操天天干天天综合网| 另类小说视频一区二区| 国产91露脸合集magnet| 91在线视频网址| 欧美一卡二卡三卡| 国产精品久久久一本精品| 亚洲一区中文日韩| 国产乱码精品1区2区3区| 99re66热这里只有精品3直播| 欧美色涩在线第一页| 久久奇米777| 亚洲第一福利一区| 国产一区二区三区国产| 91黄色激情网站| 久久亚洲综合色一区二区三区| 中文字幕在线一区| 青青草国产精品97视觉盛宴| 成人小视频在线| 欧美久久一二三四区| 国产视频在线观看一区二区三区| 一区二区三区高清不卡| 国产精品一区二区男女羞羞无遮挡| 色婷婷久久一区二区三区麻豆| 精品日韩在线一区| 一区二区在线电影| 国产精品亚洲第一区在线暖暖韩国 | 国产91在线看| 欧美一级黄色片| 伊人一区二区三区| 成人免费视频播放| 精品少妇一区二区三区视频免付费 | 极品瑜伽女神91| 欧美视频一区二区| 亚洲欧洲99久久| 国产寡妇亲子伦一区二区| 日韩视频在线一区二区| 亚洲狠狠丁香婷婷综合久久久| 国产成人免费高清| 日韩午夜在线影院| 午夜视频久久久久久| 91精品办公室少妇高潮对白| 日本一区二区在线不卡| 精品在线免费观看| 制服丝袜亚洲网站| 午夜精品久久久久| 欧美系列亚洲系列| 一区二区三区毛片| 99精品热视频| 中文子幕无线码一区tr| 国产成人在线网站| 久久精品夜夜夜夜久久| 韩国精品久久久| 日韩精品一区在线| 日本美女一区二区| 日韩女优视频免费观看| 日欧美一区二区| 日韩一区二区电影| 久久国产人妖系列| 2023国产精品自拍| 国产不卡一区视频| 国产精品视频一二|