?? excutequeue.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 + -