⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 excutequeue.java

📁 这是有关于一个视频自动压缩系统的java+xml构建的代码
💻 JAVA
字号:
package autoencodeinfinit.QueueProcess;/** * ExcuteQueue class provide a easy way to excute the exist ReCodeQueue  * and provide the function to control the excute of the queue * @author ulysess */public class ExcuteQueue {    private ReCodeQueue queue = new ReCodeQueue();    private int Processed = 0,Waiting = 0,failed = 0,thread = 1;    private String Excutetime = "0",averflamerate = "0",status = "failed";    /**     * Excute the queue item by mencoder     * @param index : The index number of queue item to be excute     */    public void MencoderExecute(int index) {            }        /**     * Excute the whole queue with Mencoder     */    public void MencoderExecute() {            }        /**     * Excute the queue item by FFMpeg     * @param index     */    public void FFMpegExecute(int index) {            }        /**    * Excute the whole queue with FFMpeg    */    public void FFMpegExecute() {            }        /**     * Cease the specified Thread     * @param threadnumber The index number of thread to be ceased     * @return Whether successful cease the thread      */    public boolean ceaseThread(int threadnumber) {        return true;    }        /**     * Kill the specified THread can used only can't cease the thread     * @param threadnumber The index number of thread to be killed     * @return Whether successful kill the thread     */    public boolean killThread(int threadnumber) {        return true;    }        /**     * Halt the Queue , notice this method halt the excute of queue so the     * thread which processing will not be interrupt     * @return     */    public boolean haltQueue() {        return true;    }    /**     * Set how many thread this program excute the queue with      * @return     */    public int setThread(short threads) {        return 1;    }        /**     * Reflesh the queue,will load the queue xml data again,general used after      * one thread Finished     */    public void RefleshQueue() {            }        /**     * Write status informations into the log file     */    private void WriteLog() {            }        /**     * Report status to the terminal     */    private void ReportStatus() {            }}

⌨️ 快捷键说明

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