parameter.java

来自「分布式计算平台P2HP-1的源代码;P2HP-1是基于P2P的高性能计算平台」· Java 代码 · 共 39 行

JAVA
39
字号
/*
 * Created on 2005-3-24
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
package cn.edu.hust.cgcl.biogrid.dispatcher;

/**
 * @author Administrator
 *
 * TODO To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
public class Parameter {
	
	public static String MonitorIpAddr="192.168.1.133";
    public static int MonitorPort=6000;
    
    //the server sockets' ports.
    public static int serverPort = 5002; //与monitor通信的服务器端口
    public static int workerPort = 5003; //与worker通信的服务器端口
    public static int listenPort = 5004; //侦听worker信息的服务器端口
    public static int taskPort=5007;     //任务通信端口
    
    public static boolean dispatcherLogIsActive=true;
    public static boolean dispatcherErrorLogIsActive=false;
    
    public static String logFileName="displog.log";
    
    public static boolean jobDebugIsActive=true;
    public static boolean nodeDebugIsActive=true;
    
    public static boolean jobFaultTolerant=false;
    public static long jobFaultTolerantTime=0;
    

}

⌨️ 快捷键说明

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