📄 controller.java
字号:
package loader.controller;
import loader.loader.*;
/**
*/
public interface Controller {
public final static int STOP = 0;
public final static int CONTINUE = 1;
/**
this method will be called by loader to be registered himself.
*/
public void register( Loader loader );
/**
set init state of the threads controlled by this controller.
*/
public void init( int control_flag );
/**
control the threads behaviors.
*/
public void control( int control_flag );
public void waitDie();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -