📄 remotethread.java
字号:
/**
*
* Program : RemoteThread.java
*
* Author : Vijayakrishnan Menon
*
* Date : 13th Dec 2005
*
* Organization : Centre for Excellence in
* Computational Engineering and Networking (CEN),
* Amrita Viswa Vidyapeetham
**/
package JAMPack;
/** This interface contains all the methods necessory to control a remote thread.
* The JRemoteThread class implements this remote interface and can be used to
* spawn, initialise and control remote threads. It supports state depended
* threads and hence can be used for distributing
**/
public interface RemoteThread extends java.rmi.Remote {
public void suspend() throws java.rmi.RemoteException;
public void resume() throws java.rmi.RemoteException;
public void stop() throws java.rmi.RemoteException;
public void start() throws java.rmi.RemoteException;
public String getName() throws java.rmi.RemoteException;
public void setPriority(int newPriority) throws java.rmi.RemoteException;
public boolean isAlive() throws java.rmi.RemoteException;
public void initialise(int rank, int size, Task task,JGrid workGrid)
throws java.rmi.RemoteException;
public int getID() throws java.rmi.RemoteException;
public boolean getValidity() throws java.rmi.RemoteException;
public void setGrid(JGrid grid) throws java.rmi.RemoteException;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -