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

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

?? storage.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 */package gridsim.datagrid.storage;import gridsim.datagrid.File;import java.util.List;/** * An interface which defines the desired functionality of a storage system in * a Data Grid. The classes that implement this interface should simulate the * characteristics of different storage systems by setting the capacity of the * storage and the maximum transfer rate. The transfer rate defines the time * required to execute some common operations on the storage, e.g. storing a * file, getting a file and deleting a file. * * @author Uros Cibej and Anthony Sulistio * @since GridSim Toolkit 4.0 * @see gridsim.datagrid.storage.HarddriveStorage * @see gridsim.datagrid.storage.TapeStorage */public interface Storage {    /**     * Gets the name of the storage.     * @return  the name of this storage     */    public String getName();    /**     * Gets the total capacity of the storage in MByte.     * @return  the capacity of the storage in MB     */    public double getCapacity();    /**     * Gets the current size of the storage in MByte.     * @return  the current size of the storage in MB     */    public double getCurrentSize();    /**     * Gets the maximum transfer rate of the storage in MByte/sec.     * @return  the maximum transfer rate in MB/sec     */    public double getMaxTransferRate();    /**     * Gets the available space on this storage in MByte.     * @return  the available space in MB     */    public double getAvailableSpace();    /**     * Sets the maximum transfer rate of this storage system in MByte/sec.     * @param rate the maximum transfer rate in MB/sec     * @return <tt>true</tt> if the setting succeeded, <tt>false</tt>     *         otherwise     */    public boolean setMaxTransferRate(int rate);    /**     * Checks if the storage is full or not.     * @return  <tt>true</tt> if the storage is full, <tt>false</tt>     *         otherwise     */    public boolean isFull();    /**     * Gets the number of files stored on this storage.     * @return the number of stored files     */    public int getNumStoredFile();    /**     * Makes a reservation of the space on the storage to store a file.     * @param fileSize  the size to be reserved in MB     * @return <tt>true</tt> if reservation succeeded, <tt>false</tt>     *         otherwise     */    public boolean reserveSpace(int fileSize);    /**     * Adds a file for which the space has already been reserved.     * The time taken (in seconds) for adding the specified file can also be     * found using {@link gridsim.datagrid.File#getTransactionTime()}.     * @param file  the file to be added     * @return the time (in seconds) required to add the file     */    public double addReservedFile(File file);    /**     * Checks whether there is enough space on the storage for a certain file.     * @param fileSize  a FileAttribute object to compare to     * @return <tt>true</tt> if enough space available, <tt>false</tt>     *         otherwise     */    public boolean hasPotentialAvailableSpace(int fileSize);    /**     * Gets the file with the specified name.     * The time taken (in seconds) for getting the specified file can also be     * found using {@link gridsim.datagrid.File#getTransactionTime()}.     * @param fileName the name of the needed file     * @return the file with the specified filename     */    public File getFile(String fileName);    /**     * Gets the list of file names located on this storage.     * @return a LinkedList of file names     */    public List getFileNameList();    /**     * Adds a file to the storage.     * The time taken (in seconds) for adding the specified file can also be     * found using {@link gridsim.datagrid.File#getTransactionTime()}.     * @param file the file to be added     * @return the time taken (in seconds) for adding the specified file     */    public double addFile(File file);    /**     * Adds a set of files to the storage.     * The time taken (in seconds) for adding each file can also be     * found using {@link gridsim.datagrid.File#getTransactionTime()}.     * @param list the files to be added     * @return the time taken (in seconds) for adding the specified files     */    public double addFile(List list);    /**     * Removes a file from the storage.     * The time taken (in seconds) for deleting the specified file can be     * found using {@link gridsim.datagrid.File#getTransactionTime()}.     * @param fileName the name of the file to be removed     * @return the deleted file.     */    public File deleteFile(String fileName);    /**     * Removes a file from the storage.     * The time taken (in seconds) for deleting the specified file can also be     * found using {@link gridsim.datagrid.File#getTransactionTime()}.     * @param fileName the name of the file to be removed     * @param file the file which is removed from the storage is returned     *        through this parameter     * @return the time taken (in seconds) for deleting the specified file     */    public double deleteFile(String fileName, File file);    /**     * Removes a file from the storage.     * The time taken (in seconds) for deleting the specified file can also be     * found using {@link gridsim.datagrid.File#getTransactionTime()}.     * @param file the file which is removed from the storage is returned     *        through this parameter     * @return the time taken (in seconds) for deleting the specified file     */    public double deleteFile(File file);    /**     * Checks whether a file is stored in the storage or not.     * @param fileName the name of the file we are looking for     * @return <tt>true</tt> if the file is in the storage, <tt>false</tt>     *         otherwise     */    public boolean contains(String fileName);    /**     * Checks whether a file is stored in the storage or not.     * @param file the file we are looking for     * @return <tt>true</tt> if the file is in the storage, <tt>false</tt>     *         otherwise     */    public boolean contains(File file);    /**     * Renames a file on the storage.     * The time taken (in seconds) for renaming the specified file can also be     * found using {@link gridsim.datagrid.File#getTransactionTime()}.     * @param file the file we would like to rename     * @param newName the new name of the file     * @return <tt>true</tt> if the renaming succeeded, <tt>false</tt>     *         otherwise     */    public boolean renameFile(File file, String newName);} // end class

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美精品日韩综合在线| 青青草视频一区| 国产精品三级久久久久三级| 欧美变态口味重另类| 欧美精品一区二区三区高清aⅴ | 一区二区不卡在线视频 午夜欧美不卡在| 欧美变态口味重另类| 精品久久五月天| 国产亚洲欧美中文| 亚洲视频1区2区| 亚洲乱码国产乱码精品精小说| 亚洲欧美中日韩| 一区二区三区在线免费视频| 一区二区三区日韩| 五月婷婷激情综合| 久久99国产精品久久| 国产不卡视频在线观看| 色域天天综合网| 欧美日韩亚洲综合一区 | 高清成人免费视频| av不卡一区二区三区| 欧美日韩亚洲国产综合| 日韩视频在线观看一区二区| 久久理论电影网| 1024国产精品| 视频一区二区三区在线| 国产精品一卡二卡| 色婷婷av一区二区三区软件| 欧美日韩亚洲丝袜制服| 久久婷婷成人综合色| 日韩理论片一区二区| 视频一区视频二区中文字幕| 国产一本一道久久香蕉| 91福利资源站| 国产区在线观看成人精品| 亚洲激情在线播放| 国产一区二区h| 欧美日韩国产综合一区二区 | 欧美国产综合色视频| 亚洲美女偷拍久久| 九色|91porny| 91久久一区二区| 久久亚洲综合色| 日韩电影免费在线观看网站| 国产乱码一区二区三区| 欧美日韩精品电影| 一区在线观看视频| 国产美女在线精品| 91精品国产综合久久久久久久久久 | 国产真实乱偷精品视频免| 91在线观看下载| 欧美精品一区二区三区在线播放| 亚洲精品成人精品456| 国产精品资源在线观看| 制服丝袜国产精品| 亚洲国产欧美另类丝袜| 成人福利视频在线看| 精品免费99久久| 午夜欧美一区二区三区在线播放| 成人午夜视频在线观看| 精品久久久久久久一区二区蜜臀| 一区二区三区在线不卡| 成人网页在线观看| 国产日韩欧美精品电影三级在线| 视频一区二区三区入口| 欧美日韩免费观看一区三区| 亚洲天堂精品视频| 色先锋资源久久综合| 国产精品网站在线观看| 国产成人av资源| 久久久久久久久岛国免费| 美国毛片一区二区| 日韩欧美电影在线| 青青草国产精品97视觉盛宴| 欧美人与z0zoxxxx视频| 亚洲妇熟xx妇色黄| 欧美日韩精品三区| 首页欧美精品中文字幕| 欧美性xxxxxxxx| 图片区日韩欧美亚洲| 欧美三级三级三级爽爽爽| 亚洲最新在线观看| 欧美色网一区二区| 日本va欧美va欧美va精品| 91精品国产一区二区三区香蕉| 亚洲高清一区二区三区| 精品视频999| 美腿丝袜亚洲一区| 欧美成人aa大片| 丰满白嫩尤物一区二区| 中文字幕综合网| 欧美精选一区二区| 久久99精品国产麻豆婷婷| 国产日韩精品久久久| av在线这里只有精品| 伊人婷婷欧美激情| 欧美精品久久久久久久久老牛影院| 午夜久久久久久| 久久久久久9999| 97久久精品人人做人人爽50路 | 欧美不卡激情三级在线观看| 国产剧情一区二区三区| 亚洲欧美偷拍卡通变态| 欧美日韩国产a| 国产一区 二区 三区一级| 亚洲欧美国产三级| 日韩一区二区高清| 成人综合在线观看| 肉丝袜脚交视频一区二区| 欧美哺乳videos| 色视频欧美一区二区三区| 日本成人在线电影网| 国产精品美女www爽爽爽| 欧美精品三级日韩久久| 成人在线视频一区二区| 日韩中文字幕1| 国产精品乱人伦| 欧美一区二区三区在线看| 国产91丝袜在线播放0| 亚洲大片免费看| 国产精品久久看| 日韩西西人体444www| 色综合中文字幕国产| 日韩电影一二三区| 亚洲欧美色一区| 久久亚洲一级片| 欧美丰满少妇xxxxx高潮对白| caoporen国产精品视频| 国产精品 欧美精品| 亚洲风情在线资源站| 国产欧美日韩另类视频免费观看| 欧美日韩另类一区| www.欧美.com| 国产激情视频一区二区三区欧美| 一区二区免费在线| 国产精品水嫩水嫩| 欧美精品一区男女天堂| 欧美日韩亚州综合| 色狠狠色噜噜噜综合网| 国产精品69久久久久水密桃| 日韩二区在线观看| 亚洲国产欧美在线| 亚洲欧美日韩人成在线播放| 日本一二三不卡| 国产欧美精品一区aⅴ影院| 欧美成人乱码一区二区三区| 欧美一级一区二区| 91精品国产综合久久久久久漫画 | 国产精品99久| 国产在线播精品第三| 狠狠狠色丁香婷婷综合激情| 青青草精品视频| 免费观看30秒视频久久| 日韩影视精彩在线| 秋霞av亚洲一区二区三| 日本成人超碰在线观看| 青青草国产成人av片免费| 日本三级亚洲精品| 日本午夜一本久久久综合| 丝袜亚洲另类欧美综合| 丝袜美腿成人在线| 日韩专区在线视频| 精品写真视频在线观看| 国产精品一区二区在线观看不卡| 国产一区二区三区综合| 国产成人精品免费在线| voyeur盗摄精品| 日本高清不卡一区| 7777精品久久久大香线蕉| 日韩欧美一区电影| 久久先锋影音av| 日韩一区欧美小说| 一区二区三区免费| 欧美96一区二区免费视频| 久久成人久久鬼色| 国产福利精品一区| 91在线精品一区二区| 欧美嫩在线观看| 久久久99免费| 伊人婷婷欧美激情| 日本最新不卡在线| 国产成人免费视| 在线免费观看成人短视频| 日韩一级二级三级| 国产精品国产三级国产普通话蜜臀 | 日韩欧美一二三区| 欧美国产日韩一二三区| 曰韩精品一区二区| 久久精品国产久精国产| 北条麻妃国产九九精品视频| 欧美日韩一区二区三区不卡| 久久男人中文字幕资源站| 亚洲精品高清在线| 高潮精品一区videoshd| 欧美系列亚洲系列| www欧美成人18+| 一区二区在线免费观看| 国产精品18久久久久久久久久久久| 91麻豆精品一区二区三区| 日韩精品自拍偷拍|